Skip to content
  • ZipCode Api
  • Blog
  • About RedLine13
RedLine13
Primary Navigation Menu
Menu
  • Start Testing
  • Demo
  • Pricing
  • Docs
    • Knowledge Base
    • AWS IAM Setup Instructions
    • Running a RedLine13 Load Test with Advanced Options
    • Scalability
    • Writing Open Load Tests in Your Language
    • Jenkins Plugin Setup
    • AWS Approval for Large Tests
    • Pro Features
  • JMeter
  • Partners

Long Duration Tests

By: Rich Friedman

RedLine is great for running long duration tests. In addition to being incredibly cheap, it is also easy. We give you two ways to set long duration tests.

You can do the simple ping test by setting the # of Iterations parameter as seen in this example:

Looping a test

 

The above test 100 users will randomly ping the URL between 0 and 20 seconds (20,000 milliseconds) – so about 5 requests per second. We have set the iterations to be 3,000 – so this pattern will repeat 3,000 times. So the test will run for up to 20 seconds * 3,000 = 60,000 seconds, or about 16.7 hours.

You can also do this in your Custom Test Script. Put a loop inside of startTest around loadPage.  So something like:
$startTime = time();

do
{
  $this->loadPage();
  $duration = time() - $startTime;

  // Set progress
  recordProgress ($testNum, $duration/864);
} while ($duration < 86400);

In loadPage, you can change usleep(rand(…)) to change the delay and you can call goToUrl multiple times if you want to load multiple pages with each loop.

You can see more on writing Custom Tests here – https://www.redline13.com/blog/writing-a-custom-load-test/

2013-11-15
Previous Post: POST Request Type Tests
Next Post: Large Load Tests

Recent Posts

  • Load Testing with AWS Spot vs On-Demand Instances – Spot Instances save you money
  • How many vCPUs needed for Load Testing?
  • Simple View of Security at RedLine13
  • Use Cases for the JMeter Dashboard Report
  • AWS Costs for Large JMeter Load Tests Run by Real Customers

Related

  • Load Testing with AWS Spot vs On-Demand Instances – Spot Instances save you money
  • How many vCPUs needed for Load Testing?
  • Simple View of Security at RedLine13
  • AWS Multiple Account Setup for Load Testing – Securing your Application Environment
  • Case Study: Performance Test video streaming services with RedLine13
  • Free Load Test Trial
  • SAML SSO
  • E-Learning Companies and Load Testing
  • AWS Costs for Large JMeter Load Tests Run by Real Customers
  • Why BlazeMeter Customers Chose RedLine13

© RedLine13, LLC | Privacy Policy | Contract
Contact Us: info@redline13.com

Designed using Responsive Brix. Powered by WordPress.