jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Dynamic variable
Date Fri, 25 Jan 2008 14:52:34 GMT
See also

http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour

On 25/01/2008, Joseph Ribin Roy <josephr@aztecsoft.com> wrote:
>
> Answering to your first question. You can use regular expression
> extractor to extract 'VScape' value from previous response data and pass
> it with the next request. Then you many not get the second observation
> you have mentioned.
>
> -----Original Message-----
> From: J, Rajeev [mailto:jrajeev@firstam.com]
> Sent: Friday, January 25, 2008 1:45 PM
> To: JMeter Users List
> Subject: Dynamic variable
>
> Hi ,
>
>
>
> We are trying to use Jmeter for performance Testing one of our
> Applications. We are facing problems when we try to run the script
>
>
>
> The scenario we recorded is:
>
>
>
> 1. Logging to the application
>
> 2. Add a message
>
> 3. Logging out
>
>
>
> Description:
>
>
>
> 1. We Generate the Test scripts in Badboy and we are able to export as a
> Jmeter script
>
> 2. When we run the script, the results shows as a pass
>
> 3. But when we try to check if there is a new message added. It is not
>
> 4. We also removed the message that we added while recording and we
> tried to run the script and still no message gets added
>
> 5. We added 'HTTP URL Re-writing Modifier' and we are passing the
> 'JsessionId' , 'ViewState' and 'VScape' and run the test. But we are not
> able to add a message.
>
>
>
> This is where we think the problem is:
>
>
>
> 1. The Script generates dynamically a id called "vscape" which is
> different for different Logins and if we can capture and pass this when
> we run the script, then we might be able to run this script
> successfully. Does any body know how we can capture and pass it at run
> time.
>
>
>
> 2. When we run the script we after "login.asp" page is successful, after
> that we have "result_process.asp"  page. The Response Data we get shows
> that the "User has been logged out"
>
>
>
> I have attached the Reponse Data below.
>
>
>
> ========================================
>
> <SCRIPT>var g_sModuleName = 'search_result_process';</SCRIPT><FORM
> ACTION='/login.asp' METHOD='POST' NAME='frmLogout' TARGET='_top'><INPUT
> ID='txtErrorMessage' NAME='txtErrorMessage' TYPE='HIDDEN' VALUE='User
> Has Been Logged Out By The
> System.'></FORM><SCRIPT>document.frmLogout.submit();</SCRIPT>
>
> =======================================
>
>
>
> Thanks
>
> Abijith.S
>
>
> **********************************************************************
> This message contains confidential information intended only for the use
> of the addressee(s) named above and may contain information that is
> legally privileged.  If you are not the addressee, or the person
> responsible for delivering it to the addressee, you are hereby notified
> that reading, disseminating, distributing or copying this message is
> strictly prohibited.  If you have received this message by mistake,
> please immediately notify us by replying to the message and delete the
> original message immediately thereafter.
>
> Thank you.
>
>
>                                    FADLD Tag
> **********************************************************************
>
>
>
>
>
> This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION
intended for the sole use of the addressee(s). If you have received it in error, please contact
the sender by return email, notify your system manager and destroy the original message and
any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check
this email and any attachments for the presence of viruses. The Company accepts no  liability
for any damage caused by any virus transmitted by this email. The views or opinions presented
in this e-mail are solely those of the author and do not necessarily represent those of the
company.
> The Company reserves the right to monitor, review and store the content of all messages
sent to or from this e-mail address.
>
> www.aztecsoft.com

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message