0

I am creating a script through Blazemeter (which storing some data in DB) and running through JMeter. Script is running fine but data is not stored in DB. What I am missing?

Masud Jahan
  • 3,418
  • 2
  • 22
  • 35
Nisha Verma
  • 91
  • 2
  • 12

1 Answers1

0

The chance of replaying recorded script is minimal as modern web applications widely use dynamic parameters for security reasons or client-side state tracking

  1. Make sure to add HTTP Cookie Manager to your Test Plan
  2. Make sure to perform correlation of any dynamic parameters
  3. With regards to "Script is running fine" - JMeter automatically treats responses with HTTP Status Codes below 400 as successful, so "green" result doesn't necessarily mean that your script is doing what it is supposed to be doing. Try inspecting responses using View Results Tree listener, most probably you're getting stuck at login page. Going forward you can consider adding Response Assertions in order to perform extra checks against the responses.
Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • Thnks Dmiriti for Answering my ans wer 1.i already added Cookie mangager. 2.i m reading my login parameter from csv file .3.i m sure its not stuck on Login Page as DB Login Table updated – Nisha Verma Jan 15 '19 at 13:04
  • As i Just Found ,my application has url like ***************/?uisessionid=150&event=loadapp&value=wotrack&_tt=vfciqpei0mh59n71sc5gbvu0u8 when it lends on a parituclar application Page and remain same as i click save button. So Blazemeter records Same.. how to sort it out. i couldnt chagne post url in application as its IBM Tool – Nisha Verma Jan 15 '19 at 13:10