Smoke Testing

Use this load testing strategy to make sure both your server and test work fine.

This is a load test you run to prepare for later load testing. Unlike the Baseline test, you do not intend to hit the service-level agreement (SLA), just make sure that there are no errors.

After confirming that everything works fine, you create other load tests.

Test Parameters

To create smoke tests, we recommend using the Smoke load test template. By default, it will create a test with the following parameters:

Parameter

Value

Duration

30 minutes

Load type

VUs

Simulated load

Five virtual users

Wait time

One second

Warmup time

10 seconds

Assertions

Failures – Total

Created monitors

None

Created statistics

Time taken – Average

Failures – Per second

Running VUs

Important

If the assertion fails, the load test stops.

Here is what your test results may look like:

API load testing with ReadyAPI: Sample smoke test

Tip

Tests can fail for a variety of reasons. Some functional tests that work fine will fail when run as load tests. For more information about test steps that may cause errors, see Preparing Functional Test Cases for Load Test.

See Also

Publication date: