LoadView allows to load test Websites, Web Application, and API with thousands of concurrent users using basic HTTP protocol or Full Real Browsers from a managed cloud. Such testing verifies that there we no performance degradations between builds and code changes and that your application can handle concurrent load. Plugin allows you to setup load test as a Jenkins build Action.
- Real user behavior simulations (browsing, searching, adding products to a shopping cart, etc.).
- Support for over 40 desktop/mobile browsers and devices.
- Supports RESTful APIs, such as JSON and XML, as well as SOAP and Web APIs that require authentication or multi-step execution.
- Load injector servers from 18 zones around the world including the United States, Canada, South America, Europe, and APAC.
- Whitelisting of Fixed IPs
To start using a LoadView Load Test Scenario to test your build in Jenkins, you must have an active Dotcom-Monitor account and a configured Test Scenario.
Please open a support ticket to enable access to the API from your IP addresses.
To configure the LoadView plugin:
- Login to the Dotcom-Monitor LoadView account.
- In LoadView, create your LoadView UID under Account > Integrations > Add Integration > Stress Testing Web API. Copy the integration UID.
- Login to your Jenkins account.
- In Jenkins, go to Credentials > Add Credentials > LoadView Security Token (UID).
- Configure and validate the credentials:
- In Jenkins, select a job and click Configure.
- Go to Build > Post-build Actions > Add post-build action > LoadView-Run load test scenario.
- Specify LoadView Stress Test settings for the build:
- Credentials: select the API key using the description.
- Scenario ID: paste the stress test scenario ID you want to use in the build. Copy the ID from the scenario page in LoadView.
- Error Threshold: specify an acceptable percentage of sessions with errors that occurred while testing (failed to access the target resource, no keywords/image found, etc.). If the percentage of error sessions is greater than the specified value, the build will be marked as a failure in Jenkins.
- Average Time: specify a limit for an average response time measured while test execution. If the limit is reached, the build will be marked as a failure in Jenkins.
- Click Save.
When a stress test is running the status of execution is displayed in the Jenkins Console Output in real-time mode.
When the test is finished, the results can be found under LoadView Results in the build menu. To review LoadView comprehensive reports on the test execution results, click More Details.