Re: Is their any way to display the User defined messages in Jmeter?

2010-05-13 Thread GautamPr

thanks  for the reply...
One more doubt:While i am sending wrong user id +Password to my login page
through Jmeter,then also I am getting status of the request as success(Green
triangle with Tick mark). Please guide me to display the proper icon(Failure
icon /Red triangle). Plz  help me asap.

GautamPr wrote:
> 
> Hi,
> I am new to Jmeter. Plz help me out.
> I want to display user defined msgs  in jmeter say after passing or
> failure of the test. Is it possible? if yes, how??
> 

-- 
View this message in context: 
http://old.nabble.com/Is-their-any-way-to-display-the-User-defined-messages-in-Jmeter--tp28546431p28555841.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



RE: How to extract the hidden values from JSP page??

2010-05-13 Thread Viswanathan Arunachalam
You can use http://www.httpwatch.com/?gclid=COqi9qGe0KECFRIaewod7X0jJQ add-ons 
to inspect the component in browsers (IE & FF).

Cheers
Vish



-Original Message-
From: Deepak Shetty [mailto:shet...@gmail.com] 
Sent: Thursday, 13 May 2010 5:31 p.m.
To: JMeter Users List
Subject: Re: How to extract the hidden values from JSP page??
Importance: High

>Now they are using JSP and the project id is been displayed in the URL
itself.
which means it must be in the previous page (on which the link is clicked or
it is formed by javascript or being sent as part of a redirect).
Inspect the HTML in your browser.

On Wed, May 12, 2010 at 10:12 PM, Nithya Prakash
wrote:

> I'm working on Jmeter for automating the test process. I have created a
> project and need to edit the project details. For this i need to extract
> the
> project id since i cannot hardcore the project id every time i run the
> script in jmeter.
>
> The scenario is like this :
>
> 1. Previously the page was build using JSF and it was little easier to find
> the hidden value and using Regular Expression Extractor i was able to
> extract the hidden value and run the test script in jmeter. things where
> fine.
>
> 2. Now they are using JSP and the project id is been displayed in the URL
> itself. Am not able to extract the project id using Reg Exp Extractor and
> run my script.its getting failed.
>
> Question : How to extract the hidden values(project id) in the JSP page??
>
> Help me out with possible solution please.
>
> Thanks in Advance
> --
> Nithya Prakash.L
> nithyaprakas...@gmail.com
> +919623320453
>

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



JMeter reporting negative sample times (ms) in Listeners

2010-05-13 Thread JMeter Learner

Hi All,
I added couple of default listeners to a JMeter test Plan.
"Summary Report" & "View Results in a Table"
After 

-- 
View this message in context: 
http://old.nabble.com/JMeter-reporting-negative-sample-times-%28ms%29-in-Listeners-tp28551250p28551250.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Cookie Manager woes

2010-05-13 Thread Deepak Shetty
possibly you havent specified the data correctly in the Cookie Manager
e.g. domain should be blah.com (exactly)
path should be / or /blah
secure should be blank

On Thu, May 13, 2010 at 7:39 AM, jacobd  wrote:

>
> Hey everyone.
>
> Im having trouble with using the cookie manager jmeter.
>
> Im using jmeter 2.3.4
>
> When I setup up the cookie manager in my thread group I cant seem to send
> any cookies even with setting one manually. As well as not setting any
> manually when I look at the request in the tree view it shows the
> following:
>
> GET http://blah.com/blah/blah=blah   <--
> just an example request.
>
> [no cookies]
>
> Request Headers:
> Connection: keep-alive
>
> My setup is as follows:
>
> test plan
>  -Thread Group
>  - HTTP request
>  - Cookie Manager
> Simple Data writer
>
>
>
> Am I missing something in the config file?
>
> Thanks,
> Jacob
> --
> View this message in context:
> http://old.nabble.com/Cookie-Manager-woes-tp28548416p28548416.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>


Re: Is their any way to display the User defined messages in Jmeter?

2010-05-13 Thread Deepak Shetty
Depends on where/when you want the message displayed .
If you have a fixed message (depending on success failure), you should
probably do this when you interpret the results (for e.g. in the Stylesheet
if using XML + XSLT).

On Thu, May 13, 2010 at 4:37 AM, GautamPr wrote:

>
> Hi,
> I am new to Jmeter. Plz help me out.
> I want to display user defined msgs  in jmeter say after passing or failure
> of the test. Is it possible? if yes, how??
> --
> View this message in context:
> http://old.nabble.com/Is-their-any-way-to-display-the-User-defined-messages-in-Jmeter--tp28546431p28546431.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>


Re: Inserting dynamic values in the application

2010-05-13 Thread Deepak Shetty
Yes you can . JDBC Sampler allow you to fetch data into variables .
However note that since you want different threads to pick different data
(as opposed to a single thread looping over some data), it is always easier
to use a CSV. You can then have the JDBC sampler write to a file (using the
appropriate Listener) , but now you need to do this in a separate thread
group, in which case you might as well generate the CSV file in advance (if
you have different data for each environment , which is normally the case
then run two sequential threadgroups or two separate tests one of which
fetches the data into CSV and the other which executes it)



On Thu, May 13, 2010 at 12:35 AM, praveen  wrote:

> Hi Deepak,
>
> Thanks a lot. I want to know whether it is possible to insert the dynamic
> details directly from the database.i.e, I created a tablespace where all
> the
> dynamic values are being inserted.Is it possible to make JMeter to fetch
> the
> dynamic data from the database.
>
> Hope I am not confusing you.Thanks in Advance.
>
> Regards,
> Praveen.
>
>
>
> -Original Message-
> From: Deepak Shetty [mailto:shet...@gmail.com]
> Sent: Wednesday, May 12, 2010 8:26 PM
> To: JMeter Users List
> Subject: Re: Inserting dynamic values in the application
>
> Create a CSV file which has two columns with the data  (acocunt number,
> mobile number) Use a CSV dataset config element and define the variables
> here as accountNumber,mobileNumber
> In your sampler which sends the value use ${accountNumber} or
> ${mobileNumber} instead of the recorded value
>
> Use debug samplers to see that the values get picked up correctly. read the
> logs to see that you dont have errors like File Not Found.  Look through
> mail archives for examples.
>
> regards
> deepak
>
> On Wed, May 12, 2010 at 10:10 AM, praveen  wrote:
>
> > Hi All,
> >
> >
> >
> > Please go through the following scenario and help me  what  I need to do,
> >
> >
> >
> >
> >
> > 1)Login to a web application hosted in the server
> >
> >
> >
> > 2)Access Customer Management in my application.
> >
> >
> >
> > 3)Enter the account number an click on search button. Now my application
> > connects to the core banking system and fetches the information of the
> > particular account number.
> >
> >
> >
> > 4)Now I need to provide the mobile number and the rest of the details
> >
> >
> >
> > 5)Here the account number and mobile number are 2 unique fields where I
> > need
> > to provide dynamic data for each customer.
> >
> >
> >
> > Now after recording my actions of customer registration, what is the
> > procedure I need to follow so that while I run the test, dynamic values
> are
> > inserted for each customer.
> >
> >
> >
> > Thanks in Advance.
> >
> >
> >
> > Regards,
> >
> > Praveen.
> >
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>


Cookie Manager woes

2010-05-13 Thread jacobd

Hey everyone.

Im having trouble with using the cookie manager jmeter.

Im using jmeter 2.3.4

When I setup up the cookie manager in my thread group I cant seem to send
any cookies even with setting one manually. As well as not setting any
manually when I look at the request in the tree view it shows the following:

GET http://blah.com/blah/blah=blah   <--
just an example request.

[no cookies]

Request Headers:
Connection: keep-alive

My setup is as follows:

test plan
  -Thread Group
  - HTTP request
  - Cookie Manager
Simple Data writer



Am I missing something in the config file?

Thanks,
Jacob
-- 
View this message in context: 
http://old.nabble.com/Cookie-Manager-woes-tp28548416p28548416.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Is their any way to display the User defined messages in Jmeter?

2010-05-13 Thread prasanna bhat
use OUT.println("Your status message");.. This will display your message on
the console.
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_PostProcessor

Thanks,
Prasanna


On Thu, May 13, 2010 at 5:07 PM, GautamPr wrote:

>
> Hi,
> I am new to Jmeter. Plz help me out.
> I want to display user defined msgs  in jmeter say after passing or failure
> of the test. Is it possible? if yes, how??
> --
> View this message in context:
> http://old.nabble.com/Is-their-any-way-to-display-the-User-defined-messages-in-Jmeter--tp28546431p28546431.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>


Is their any way to display the User defined messages in Jmeter?

2010-05-13 Thread GautamPr

Hi,
I am new to Jmeter. Plz help me out.
I want to display user defined msgs  in jmeter say after passing or failure
of the test. Is it possible? if yes, how??
-- 
View this message in context: 
http://old.nabble.com/Is-their-any-way-to-display-the-User-defined-messages-in-Jmeter--tp28546431p28546431.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



Re: Inserting dynamic values in the application

2010-05-13 Thread prasanna bhat
>>Is it possible to make JMeter to fetch the
dynamic data from the database.

Check out
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#JDBC_Request

Thanks,
Prasanna



On Thu, May 13, 2010 at 1:05 PM, praveen  wrote:

> Hi Deepak,
>
> Thanks a lot. I want to know whether it is possible to insert the dynamic
> details directly from the database.i.e, I created a tablespace where all
> the
> dynamic values are being inserted.Is it possible to make JMeter to fetch
> the
> dynamic data from the database.
>
> Hope I am not confusing you.Thanks in Advance.
>
> Regards,
> Praveen.
>
>
>
> -Original Message-
> From: Deepak Shetty [mailto:shet...@gmail.com]
> Sent: Wednesday, May 12, 2010 8:26 PM
> To: JMeter Users List
> Subject: Re: Inserting dynamic values in the application
>
> Create a CSV file which has two columns with the data  (acocunt number,
> mobile number) Use a CSV dataset config element and define the variables
> here as accountNumber,mobileNumber
> In your sampler which sends the value use ${accountNumber} or
> ${mobileNumber} instead of the recorded value
>
> Use debug samplers to see that the values get picked up correctly. read the
> logs to see that you dont have errors like File Not Found.  Look through
> mail archives for examples.
>
> regards
> deepak
>
> On Wed, May 12, 2010 at 10:10 AM, praveen  wrote:
>
> > Hi All,
> >
> >
> >
> > Please go through the following scenario and help me  what  I need to do,
> >
> >
> >
> >
> >
> > 1)Login to a web application hosted in the server
> >
> >
> >
> > 2)Access Customer Management in my application.
> >
> >
> >
> > 3)Enter the account number an click on search button. Now my application
> > connects to the core banking system and fetches the information of the
> > particular account number.
> >
> >
> >
> > 4)Now I need to provide the mobile number and the rest of the details
> >
> >
> >
> > 5)Here the account number and mobile number are 2 unique fields where I
> > need
> > to provide dynamic data for each customer.
> >
> >
> >
> > Now after recording my actions of customer registration, what is the
> > procedure I need to follow so that while I run the test, dynamic values
> are
> > inserted for each customer.
> >
> >
> >
> > Thanks in Advance.
> >
> >
> >
> > Regards,
> >
> > Praveen.
> >
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>


RE: Inserting dynamic values in the application

2010-05-13 Thread praveen
Hi Deepak,

Thanks a lot. I want to know whether it is possible to insert the dynamic
details directly from the database.i.e, I created a tablespace where all the
dynamic values are being inserted.Is it possible to make JMeter to fetch the
dynamic data from the database.

Hope I am not confusing you.Thanks in Advance.

Regards,
Praveen.



-Original Message-
From: Deepak Shetty [mailto:shet...@gmail.com] 
Sent: Wednesday, May 12, 2010 8:26 PM
To: JMeter Users List
Subject: Re: Inserting dynamic values in the application

Create a CSV file which has two columns with the data  (acocunt number,
mobile number) Use a CSV dataset config element and define the variables
here as accountNumber,mobileNumber
In your sampler which sends the value use ${accountNumber} or
${mobileNumber} instead of the recorded value

Use debug samplers to see that the values get picked up correctly. read the
logs to see that you dont have errors like File Not Found.  Look through
mail archives for examples.

regards
deepak

On Wed, May 12, 2010 at 10:10 AM, praveen  wrote:

> Hi All,
>
>
>
> Please go through the following scenario and help me  what  I need to do,
>
>
>
>
>
> 1)Login to a web application hosted in the server
>
>
>
> 2)Access Customer Management in my application.
>
>
>
> 3)Enter the account number an click on search button. Now my application
> connects to the core banking system and fetches the information of the
> particular account number.
>
>
>
> 4)Now I need to provide the mobile number and the rest of the details
>
>
>
> 5)Here the account number and mobile number are 2 unique fields where I
> need
> to provide dynamic data for each customer.
>
>
>
> Now after recording my actions of customer registration, what is the
> procedure I need to follow so that while I run the test, dynamic values
are
> inserted for each customer.
>
>
>
> Thanks in Advance.
>
>
>
> Regards,
>
> Praveen.
>
>
>
>


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