Search code examples
jmeterperformance-testingjmeter-pluginsjmeter-5.0

JMeter - Test not running on second call at run time


I have set my tests up in the following layout:

Test Plam
Test Fragment 
    EP-1(include controller)
    EP-2(include controller)
    EP-3(include controller)
Thread Group
    Parameterized controller
        Module Controller
            EP1
    Parameterized controller
        Module Controller
            EP2
    Parameterized controller
        Module Controller
            EP1     
    Parameterized controller
        Module Controller
            EP3             
    View Results Tree

Results: EP1 EP2 EP3

When running these tests i only get EP1 running once and doesn't run a second time (doesn't even look like it attempts to run)

No information in JMeter log apart from loaded (include controller)

I added the HTTP request directly and have the same issue so did the following set up:

    Test Plan
Test Fragment 
    EP-1(include controller)
    EP-2(include controller)
    EP-3(include controller)
Thread Group
    Parameterized controller
            EP1
    Parameterized controller
            EP2
    Parameterized controller
            EP1     
    Parameterized controller
            EP3             
    View Results Tree

Still got the same result. Any ideas?

New: layout

OUTPUT of this is:

  • JWT Token
  • Include Controller1 (PUT)
  • Include Controller2 (GET)
  • HTTP Request (PUT)
  • Include Controller1 (PUT)
  • HTTP Request (GET)
  • Include Controller1 (PUT)

Expected:

  • JWT Token
  • Include Controller1 (PUT)
  • Include Controller2 (GET)
  • HTTP Request (PUT)
  • Include Controller1 (PUT)
  • Include Controller2 (GET)
  • HTTP Request (GET)
  • Include Controller1 (PUT)
  • HTTP Request (GET)
  • Include Controller2 (GET)

Solution

  • Turns out the Cache Manager was caching the (GET) request (checkbox)

    unchecked that and it worked.

    Hopefully this helps anyone having a moment when writing these tests and unable to work out why the following (GET) requests are not being excuted.