Original CI/CD Integration: Automate Testing in Your Development Pipelines
Prerequisites
Jenkins Integration
Load Tests
pipeline {
agent any
stages {
stage('Start Load Test') {
steps {
script {
sh 'curl -X POST https://api.studio.ratl.ai/public/api/v1/load/start \
-H "api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d \'{"simulation_id": "<SIMULATION_ID>", "project_id": "<PROJECT_ID>"}\''
}
}
}
stage('Check Load Test Status') {
steps {
script {
sh '''
STATUS="running"
while [ "$STATUS" == "running" ]; do
STATUS=$(curl -s -X GET https://api.studio.ratl.ai/public/api/v1/load/status \
-H "api-key: <YOUR_API_KEY>" \
-G --data-urlencode "simulation_id=<SIMULATION_ID>" | jq -r .status)
echo "Current status: $STATUS"
sleep 10
done
'''
}
}
}
stage('Get Load Test Report') {
steps {
script {
sh 'curl -X GET https://api.studio.ratl.ai/public/api/v1/load/report \
-H "api-key: <YOUR_API_KEY>" \
-G --data-urlencode "simulation_id=<SIMULATION_ID>"'
}
}
}
}
}API Tests
E2E Tests
Web Automation
Azure DevOps (ADO) Pipelines Integration
Load Tests
API Tests
E2E Tests
Web Automation
GitHub Actions Integration
Load Tests
API Tests
E2E Tests
Web Automation
GitLab CI/CD Integration
Load Tests
API Tests
E2E Tests
Web Automation
Instructions
Last updated