Rishabh Dwivedi
Rishabh Dwivedi

Reputation: 23

Playing Back Recorded Script

I'm recording following user activity.

1.Login(Web Application)

2.User enters some fields in a form and saves it(This data goes into DB after saving)

stop recording... Save the script.

Now, I'm playing back same script using only single Thread(virtual user).

I'm expecting same data to be entered by virtual user into DB but its not happening, no data is found in DB.

Tool used-JMETER.

I'm using SAMPLER-Http Request, Login Controller-Transaction Controller, Script Recorder and View Result Tree in Workbench to record.

My only Question is, Is it possible to enter data in DB by playing back same script using virtual user ?.

If yes, than how ?

Upvotes: 2

Views: 65

Answers (1)

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34546

You most probably failed to correlate some dynamic data or didn't use a Cookie Manager.

Ensure your record using jmeter > templates> Recording

and once done, ensure you correlate any dynamic id using Extractors and variables (google this for more details)

Upvotes: 1

Related Questions