LoadUI Pro provides a quick way to configure your load test for a load testing scenario by using templates. Templates are based on popular load testing scenarios and provide basic settings fitting these scenarios. To create a load test based on the template:
Right-click the project in LoadUI and select New LoadUI Test, or click in the LoadUI toolbar.
Alternatively, you can create a load test from the New Test tile which is available on the Dashboard. To do this, click Load Test on the tile.
In the New Load Test dialog, select a template to be used. You can find more information about template parameters in the topic about the load testing scenario you intend to use. Click OK.
The Create Load Test wizard will open. On the first step of the wizard, specify the test target.
The following targets are available:
SoapUI test case – select a SoapUI test case and create a load test based on it.
Single request – select a request to the API. ReadyAPI will create a SoapUI test case with a single test step and create a load test.
URL – enter your API URL. ReadyAPI will import it to the project, create a SoapUI test case and a load test.
On the same page of the wizard, specify the load test name. Click Next.
On the second page of the wizard, specify the load simulated by the test. If you are not sure, use default values. Click Next.
On the third page of the wizard, you can select a server to monitor. Make sure your server is ready for monitoring. If you are not sure what type of server your API is run on, select Skip this step to skip server monitor creation, and click Next.
Otherwise, specify the following values:
Server name – The name of the server in ReadyAPI.
Target server – The host name or IP address of the server you intend to monitor. For example, you can specify both
127.0.0.1 to monitor a local computer.
Monitor name – The name of the monitor in ReadyAPI.
Monitor type – Select one of the available monitor types. Depending on the type you selected, you may need to specify additional parameters.
On the fourth step of the wizard, configure the test assertions. Test assertions monitor the test execution and trigger when the monitored metrics go above the specified value. If you are not sure what each assertion monitors, see the statistics reference. Click Finish to create a load test.
LoadUI will create a load test based on the selected template.