shinelog
Member
Reged: 07/17/08
Posts: 47
|
|
Hi all,
i had recorded the script with jmeter, i had followed the step which is given below link to handle the
"javax\.faces\.ViewState"
http://wiki.apache.org/myfaces/PerformanceTestingWithJMeter
even though i am facing the same issue.
can any one help me on this issue.
Regards, Shinelog
|
JosePablo
Member
Reged: 09/30/08
Posts: 346
Loc: Argentina
|
|
Hi,
Could you give us more information about your test scenario?
-------------------- Best Regards,
José
----------
My blog: http://josepablosarco.wordpress.com/
LinkedIn: http://www.linkedin.com/in/josepablosarco
|
shinelog
Member
Reged: 07/17/08
Posts: 47
|
|
Hi Jose,
Thanks for your quick reply.
My scenario is, Login to URL, update the email-id. this is my simple scenario.
Regards, ShineLog
Edited by shinelog (06/04/09 06:44 AM)
|
JosePablo
Member
Reged: 09/30/08
Posts: 346
Loc: Argentina
|
|
ok, I refer to information about technology, business rules, how configure your script....but, I will try with some questions:
- Do you use "Regular Expression Extractor" for extract the ViewState value generated in the login page to send it in the update page???
- Do you have JSESSIONID? Do you use the pre-processor "HTTP URL Re-writing Modifier"?
- Do you have cookies? Do oyu use the "HTTP Cookie Manager"?
-------------------- Best Regards,
José
----------
My blog: http://josepablosarco.wordpress.com/
LinkedIn: http://www.linkedin.com/in/josepablosarco
|
shinelog
Member
Reged: 07/17/08
Posts: 47
|
|
hi jose,
yes, i am using "regular expression extractor" for extract the ViewState value generated in the login page to send it in the update page.
yes i have session id, but am not using the pre-preprocessor "HTTP URL Re-writing Modifier"
i am using "http cookie manager"
Regards, Shinelog
|
JosePablo
Member
Reged: 09/30/08
Posts: 346
Loc: Argentina
|
|
Quote:
yes i have session id, but am not using the pre-preprocessor "HTTP URL Re-writing Modifier"
If you have session id and you are not using the pre-preprocessor "HTTP URL Re-writing Modifier" the problem could be the session ID and not the ViewState.
Try to add the pre-preprocessor "HTTP URL Re-writing Modifier" :
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_URL_Re-writing_Modifier
Let me know if it works
-------------------- Best Regards,
José
----------
My blog: http://josepablosarco.wordpress.com/
LinkedIn: http://www.linkedin.com/in/josepablosarco
|
shinelog
Member
Reged: 07/17/08
Posts: 47
|
|
Hi Jose,
Still i have the problem.
i had created and exported the script from badboy.
i had a discussion with my devloper, they said that there is no cookie is utilised, only jsessionid is used.
Due this i removed the cookie manager and i tested even though i am facing the error.
i saw that there are 3 unique id created for "javax.faces.ViewState", i tried by creating 3 regular expression with unique name and inserted with appropriate one. with "rewritting url modifier". even though i am facing the error.
Regards, Shinelog.
|
JosePablo
Member
Reged: 09/30/08
Posts: 346
Loc: Argentina
|
|
I don't know; Could you give us the error message that JMeter shows?
Do you check the variables values with a debug sampler?
-------------------- Best Regards,
José
----------
My blog: http://josepablosarco.wordpress.com/
LinkedIn: http://www.linkedin.com/in/josepablosarco
|
shinelog
Member
Reged: 07/17/08
Posts: 47
|
|
hi jose,
sorry for late reply,
kindly find my attachment of error.
Regards, Shinelog.
|