How to load test in full Cloud
For tests fully performed and managed in the Cloud, it may be useful to tune the scenarios in the on-premise Controller to optimize the testing environment, before setting the NeoLoad Cloud Controller and the Cloud Load Generators, as described in Select and configure the NeoLoad Cloud Controller and Select the Cloud Load Generators.
- To load test in full Cloud
- Open your scenario in the on-premise NeoLoad Controller.
- Check the design of your scenario:
- For the requests, ensure the validations, if any, are really necessary. Keep them only for the key pages whenever you can.
- For the variables values, ensure the distribution policies are not Controller-based whenever you can.
- Ensure the validations and the variable extractions on bulky inputs, if any, are really necessary and optimize them.
- For the variables extractors:
- Ensure the XPath expressions, if any, are really necessary.
- Ensure the regular expressions with quantifier backtracks are really necessary.
- Limit the number of small Virtual Users, if any, or redesign them.
For more information, see Configure the scenarios.
- Check the configuration of your project from the on-premise NeoLoad Controller:
- Configure a limited duration for your test.
- Limit the number of monitoring metrics or keep the default selected ones.
- In Edit > Preferences > Project Settings > Runtime parameters, disable Store previous response data on error.
- In the Runtime section, select the scenario, click Advanced, then disable Display Virtual User status during the test.
- Set enough time to reserve your NeoLoad Cloud Controller.
For more information, see Reserve and configure the NeoLoad Cloud Controller.
- Configure the infrastructure to optimize the performance of the heavy load testing.
For more information, see Configure the network.
- When the reserved NeoLoad Cloud Controller is available:
- Set up the Windows firewall, as described in Set up the Windows firewall.
- Activate your license or transfer your local license.
- Upload your project.
- If you have modified or added some keys in the local
controller.properties file, duplicate these keys only in the
controller.properties file of the NeoLoad Cloud Controller.
- When using a local Monitoring Agent, check that the NeoLoad Cloud Controller can access it.
- Only if you are paying with Cloud credits: Size your Cloud Load Generators with an on-demand Cloud session:
- Create an on-demand Cloud session with one Load Generator.
- Ensure the Controller accesses the Neotys Cloud Platform and the Cloud Load Generator (both of them on port 443).
- Start a ramp-up test in no debug mode.
- Identify the significant breaking point in the CPU, memory, throughput or hit rate metrics.
- Identify the number of Virtual Users at that breaking point.
For more information, see Cloud credits only: Size Cloud Load Generators.
- If you need to use the same IP addresses for the whole test campaign, reserve IP addresses.
For more information, see Reserve IP addresses.
- Set enough time to reserve your Cloud session and get your Cloud Load Generators.
For more information, see Reserve the Cloud Load Generators.
- When your reserved Cloud Load Generators session is available, start the test:
- Do not use the debug mode.
- Run a short preliminary load test to make sure that:
- the Cloud Load Generators have access to the tested application,
- the license is properly installed,
- the monitoring counters are set up as expected.
- Warm up the application with one or two lower tests.
- Start your heavy load test.
For more information, see Start the test.
- Terminate the test.
- Download useful content from the NeoLoad Cloud Controller:
- NeoLoad project
- Log files
- Terminate the Cloud session.
- If necessary, release the NeoLoad license.
- Read the test results.
For more information, see Read and retrieve results.