Tricentis Tosca is a well-known tool used traditionally in functional automation. Integrating Tosca with Flood means being able to reuse existing functional automation test scripts and run them as load tests, reducing the need to maintain two separate suites. Tosca's powerful engine allows you to script user interactions on the browser level. There is also an option for doing API testing right from the Tosca interface. The Flood integration is easy to set up:
1. Sign up for Flood.
2. Go to the Tosca section on your user profile (https://app.flood.io/account/tosca) and click Reveal token. Copy this token.
Your token will be a long string of characters such as:
3. Within your Tosca script, click Project > Settings > License and in the field for “FloodToken”, paste the Tosca token you copied in Step #2.
4. Now that your Flood account is linked to Tosca, create a new execution list and drag and drop the relevant test case into it.
5. Right click on the execution list, click the “...” icon to show more functions, and select Create Load Stream.
6. Click the Stream configuration tab and enter your preferred settings for Users & Regions, Timing & Iterations and Scheduling.
Here are some sample settings you can try out for your first flood:
Simulated users: 4
User regions: US West (California)
User ramp up: Linear
Ramp up duration: 60 seconds
Test step timing: Constant
Iterations: Loop forever
Scheduling type: Immediate start
7. With the load lick Run from the context ribbon.
A window should open your resulting load test on Flood. After a few minutes of starting up a grid, you should be able to see your results in real time.