Hidden value does not allow to save data

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Hidden value does not allow to save data

mnsstar1
This post has NOT been accepted by the mailing list yet.
Unable to save data, as hidden values are blocking the same..

on data save event>>If next time data added still holds previously stored hidden values for it.


Here are sample reference code parameters:

ctl00$ContentPlaceHolder1$repContainerDetails$ctl01$hdnContRefId

ctl00$ContentPlaceHolder1$repContainerDetails$ctl02$hdnContRefId


Note: hdnContRef Id , hdnContRefId are values auto generated after save event.

Reply | Threaded
Open this post in threaded view
|

Re: Hidden value does not allow to save data

mnsstar1
This post has NOT been accepted by the mailing list yet.
Need to work around for reference id generated all the time.



Reply | Threaded
Open this post in threaded view
|

Re: Hidden value does not allow to save data

glinius@live.com
This post has NOT been accepted by the mailing list yet.
In reply to this post by mnsstar1
You need to perform correlation of these dynamic parameters (and any others as well), your test should look as follows:

1. For the previous request sampler
2. Extract values of dynamic parameters using one of JMeter's Post-Processors (I would recommend using CSS/JQuery Extractor for HTML response types)
3. Replace hard-coded parameters with dynamic correlated values in the next request.

You can debug and test your CSS/JQuery expressions using CSS/JQuery Tester  mode of the View Results Tree listener.





Also make sure you have HTTP Cookie Manager added and enabled.