I just started using JMeter. I recorded a test script successfully. Now that I replay my test scripts it doesn't do the required functionality that it was meant to do. More over the process i recorded took me about 5mins to record but the scripts run successfully in 30seconds.

Can anyone please help me? JMeter doesn't show anything in the errors log. All scripts are marked successful and the errors in the summary report are 0%.

  • What you have set for No. of thread , ramp up period and loop count? Also in which pages you are putting load? please share your test plan. – Helping Hands Jan 5 '15 at 8:29
  • No of thread, ramp up period and loop count is 1. – Jarree Arham Shahid Jan 5 '15 at 10:22
  • I just recorded a test case using the recording controller and i am replaying it. – Jarree Arham Shahid Jan 5 '15 at 10:23
  • Why you are recording? any specific requirement? – Helping Hands Jan 5 '15 at 10:31
  • I need to make some orders in my application. I need to put load later on if it can handle 100-200 orders at a time. Ordering process consists of 5 steps. (selecting customizations and all) – Jarree Arham Shahid Jan 5 '15 at 10:36
  1. Make sure that you have HTTP Cookie Manager enabled
  2. Make sure that you properly handle any dynamic mandatory parameters like "VIEWSTATE", "SESSIONID", etc. Record the same sequence several times and look for any request parameters which are different. If they are, you'll need to correlate them by extracting dynamic bits from previous response via

    and add those as parameters into next request.

See ASP.NET Login Testing with JMeter for reference, it assumes some .NET specific dynamic parameters, however the approach should be the same for any backend technology.


Please follow below steps to achieve your testing goal :

1 - Create thread group with following option :

No. of threads : 100
Ramp up period : 300 Seconds [5 Minutes]
loop count : 0 [ZERO]

2 - Add listeners [To see result of load] , 1 - View result tree , 2 - Summary report.

3 - Record your test using : HTTP(S) Test Script Recorder - Perform all scenario in you site you want.

4 - Stop recording when you complete site surf.

5 - Run this test plan and see result that how your site behave when 100 users come to site and surf till 5 minutes continue.

Let me know if you get any confusion in above.

  • I ran my test plan with these settings you mentioned. It ran for 5mins but didn't show any result in the listerners (View result tree and Summary report). However the log showed that it ran successfully. No orders were made in my application though. – Jarree Arham Shahid Jan 5 '15 at 11:45
  • For now i just want my recorded test case to replay and make an order like i do manually. Ill put in the load later. – Jarree Arham Shahid Jan 5 '15 at 11:48
  • It must show result. Do you getting list of urls below thread group which you surfed during recording? – Helping Hands Jan 5 '15 at 11:54
  • Yes i am. About 300-400 URLs. – Jarree Arham Shahid Jan 5 '15 at 12:09
  • Then result must be there. hope you are running jmeter test after stop recording. – Helping Hands Jan 5 '15 at 12:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.