RE: How to record script in JMETER without proxy server?

2005-03-10 Thread rafael . medina

Return Receipt
   
Your  RE: How to record script in JMETER without proxy server? 
document   
:  
   
was   Rafael Medina Casas/Madrid/FNMT  
received   
by:
   
at:   10/03/2005 09:40:13  
   





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to record script in JMETER without proxy server?

2005-03-10 Thread rafael . medina

Return Receipt
   
Your  RE: How to record script in JMETER without proxy server? 
document   
:  
   
was   Rafael Medina Casas/Madrid/FNMT  
received   
by:
   
at:   10/03/2005 09:40:18  
   





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



to find out size of _VIEWSTATE

2005-03-10 Thread K, Sandeep Reddy
Hi all,

  

I am trying to find out size of viewstate of an ASP.NET page, so
that I can determine the load time of the page. please help

Suggestions appreciated

Thanks

Sandeep K



Sending binary data in HTTP Request body

2005-03-10 Thread Isabel Beltran
We are trying to use JMeter to load test an application which uses HTTP 
protocol through the CICS Web Interface to access a legacy 0S/390 
application. The HTTP request body contains binary data, it does not contain 
name/value pairs. Is there any way that the HTTP request sampler could 
accept binay data as the body of the request?.

Reading through the mailing list appends, we were trying to find out how to 
achieve this. It seems that the best solution - in case the HTTP request 
sampler could not help us - will be to code our own Java Sampler or 
BeanShell script. Are we right?. Which is the best approach?. Is there any 
docs/references available on how to extend AbstractJavaSamplerClient apart 
from the SleepTest class?.

Thanks in advance, regards
Isabel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: to find out size of _VIEWSTATE

2005-03-10 Thread Peter Lin
I'm not sure what you're referring to. is your goal to see the bytes
sent by the server?

if so, add the view results in tree listener and it should show the bytes sent.

peter


On Thu, 10 Mar 2005 06:29:50 -0500, K, Sandeep Reddy
[EMAIL PROTECTED] wrote:
 Hi all,
 
 I am trying to find out size of viewstate of an ASP.NET page, so
 that I can determine the load time of the page. please help
 
 Suggestions appreciated
 
 Thanks
 
 Sandeep K
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to record script in JMETER without proxy server?

2005-03-10 Thread Michael Stover
HTTPS requests cannot be intercepted and recorded by JMeter.
http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-d7d6b439cbb64a17ac50c302cf9bbc483ccc0d3e

-Mike

On Thu, 2005-03-10 at 01:01, Jayashree K wrote:
 :-))
 This is very strange. I tried it outguess what???
 It DID WORKED for me even :-)
  
 But, still I got stuck in further problem. It did worked for HTTP request. I 
 means HTTP Protocol got recorded...but since in between there is HTTPS 
 ...protocol. Recording stopped and I can't move further now. :-(
  
 Any other strange idea for this?
  
 Thx,
 Jayashree
 
 Kiran [EMAIL PROTECTED] wrote:
 Hi ,
 I am very new to jmeter.But I faced this .In that case What I did is
 ,I gave the URL of website and site is loaded. Then I change the
 settings as local host and 80. Click START in jmeter to record. I was
 able to go navigate and record.
 
 Instead if u change setting to localhost and 80 at the beginning and
 try to load the site ,it will give page cannot be displayed.
 
 I am not sure whether it is the correct way. But it worked for me.
 
 Regards Kiran
 
 
 
 -Original Message-
 From: Jayashree K [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 10, 2005 10:22 AM
 To: jmeter-user@jakarta.apache.org
 Subject: How to record script in JMETER without proxy server? 
 
 
 Jmeter help says to have IE Settings and Jmeter-HTTP Proxy server to be
 same. specify Ex: Localhost 80 at both the places. Then recording
 happesn. TRUE.
 
 But here, When I specify localhost and 80 in my IE. I'm not able to see
 the website (Page can't be displayed comes.) Here, proxy is transperent.
 So now what to do?
 
 Unless and until I specify anything, HOW can i record?
 
 From SysAdmin, I got to know one IP and 3128 as port. When I set that
 in IE...i can access the pages.
 But when I specify that in HTTP Proxy Server of JMETER...It doesn't
 work. REcording doesn't happen.
 
 Is there any way to do the recording in JMeter in such cases?
 OR If Address and port is other than 80 or 8080. How to do recording
 with other machines IP and Port??
 
 Can anyone plz let me know the steps to do?
 
 Thx
 Jayashree
 
 
 
 -
 Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
   
 -
 Do you Yahoo!?
  Make Yahoo! your home page   
-- 
Michael Stover [EMAIL PROTECTED]
Apache Software Foundation


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



to find out size of _VIEWSTATE

2005-03-10 Thread K, Sandeep Reddy
Thanks for your reply peter,
I wanted to find the size of the _VIEWSTATE we find in the ASPNET pages also
in the view results tree in the Response Data(show text) and compare the
size to the load time given in the view results tree. 

-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 6:13 PM
To: JMeter Users List
Subject: Re: to find out size of _VIEWSTATE

I'm not sure what you're referring to. is your goal to see the bytes
sent by the server?

if so, add the view results in tree listener and it should show the bytes
sent.

peter


On Thu, 10 Mar 2005 06:29:50 -0500, K, Sandeep Reddy
[EMAIL PROTECTED] wrote:
 Hi all,
 
 I am trying to find out size of viewstate of an ASP.NET page, so
 that I can determine the load time of the page. please help
 
 Suggestions appreciated
 
 Thanks
 
 Sandeep K
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: to find out size of _VIEWSTATE

2005-03-10 Thread Peter Lin
ahh ok. you're referring to IIS aspx state management features. JMeter
doesn't know anything about non standard stuff like ASPX _VIEWSTATE.
you will probably have to write a plugin to parse the viewstate data,
since it's specific to IIS/ASPX.

peter



On Thu, 10 Mar 2005 08:49:50 -0500, K, Sandeep Reddy
[EMAIL PROTECTED] wrote:
 Thanks for your reply peter,
 I wanted to find the size of the _VIEWSTATE we find in the ASPNET pages also
 in the view results tree in the Response Data(show text) and compare the
 size to the load time given in the view results tree.
 
 -Original Message-
 From: Peter Lin [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 10, 2005 6:13 PM
 To: JMeter Users List
 Subject: Re: to find out size of _VIEWSTATE
 
 I'm not sure what you're referring to. is your goal to see the bytes
 sent by the server?
 
 if so, add the view results in tree listener and it should show the bytes
 sent.
 
 peter


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: to find out size of _VIEWSTATE

2005-03-10 Thread K, Sandeep Reddy

Hi,

I got you but can't figure out how to write a plugin to parse the
viewstate data can you tell me how can I do that.

Thank you peter 


-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 7:43 PM
To: JMeter Users List
Subject: Re: to find out size of _VIEWSTATE

ahh ok. you're referring to IIS aspx state management features. JMeter
doesn't know anything about non standard stuff like ASPX _VIEWSTATE.
you will probably have to write a plugin to parse the viewstate data,
since it's specific to IIS/ASPX.

peter




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



omiting nested url

2005-03-10 Thread Josef Bohaty
Hi,

We'd like to run Jmeter on our web pages and we are under time pressure.
But there is one problem - on each single page there is one component
refering to external url (something like statistics) but that url has
very long responses and it affects the jmeter statistics then as well as
time spent on it.
Is there any possibility how to omit that url in JMeter? Please, give me
an advice.
Thank you.

Josef

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: omiting nested url

2005-03-10 Thread Krahe, Chris
Josef-

Is JMeter automatically requesting that URL when it parses the response
of a page your test plan explicitly requests?  For example, JMeter will
do this for images.

If so, turn off this feature for that request and explicitly request the
things you do want.

-Chris

-Original Message-
From: Josef Bohaty [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 11:07 AM
To: jmeter-user@jakarta.apache.org
Subject: omiting nested url [bcc][faked-from]
Importance: Low

Hi,

We'd like to run Jmeter on our web pages and we are under time pressure.
But there is one problem - on each single page there is one component
refering to external url (something like statistics) but that url has
very long responses and it affects the jmeter statistics then as well as
time spent on it.
Is there any possibility how to omit that url in JMeter? Please, give me
an advice.
Thank you.

Josef

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to record script in JMETER without proxy server?

2005-03-10 Thread Thomas Ford

Return Receipt
   
Your  RE: How to record script in JMETER without proxy server? 
document   
:  
   
was   Thomas Ford/Las Vegas/IBM
received   
by:
   
at:   03/10/2005 09:47:50 PST  
   




RE: How to record script in JMETER without proxy server?

2005-03-10 Thread Thomas Ford

Return Receipt
   
Your  RE: How to record script in JMETER without proxy server? 
document   
:  
   
was   Thomas Ford/Las Vegas/IBM
received   
by:
   
at:   03/10/2005 09:47:58 PST  
   




RE: How to record script in JMETER without proxy server?

2005-03-10 Thread Thomas Ford

Return Receipt
   
Your  RE: How to record script in JMETER without proxy server? 
document   
:  
   
was   Thomas Ford/Las Vegas/IBM
received   
by:
   
at:   03/10/2005 09:49:01 PST  
   




RE: How to record script in JMETER without proxy server?

2005-03-10 Thread Thomas Ford

Return Receipt
   
Your  RE: How to record script in JMETER without proxy server? 
document   
:  
   
was   Thomas Ford/Las Vegas/IBM
received   
by:
   
at:   03/10/2005 09:49:10 PST  
   




omiting nested url

2005-03-10 Thread Thomas Ford

Return Receipt
   
Your  omiting nested url   
document   
:  
   
was   Thomas Ford/Las Vegas/IBM
received   
by:
   
at:   03/10/2005 09:52:53 PST  
   




omiting nested url

2005-03-10 Thread Thomas Ford

Return Receipt
   
Your  omiting nested url   
document   
:  
   
was   Thomas Ford/Las Vegas/IBM
received   
by:
   
at:   03/10/2005 09:53:19 PST  
   




Re: Sending binary data in HTTP Request body

2005-03-10 Thread sebb
On Thu, 10 Mar 2005 12:08:16 +, Isabel Beltran [EMAIL PROTECTED] wrote:
 
 We are trying to use JMeter to load test an application which uses HTTP
 protocol through the CICS Web Interface to access a legacy 0S/390
 application. The HTTP request body contains binary data, it does not contain
 name/value pairs. Is there any way that the HTTP request sampler could
 accept binay data as the body of the request?.

Is this a POST or a GET command?
Indeed is it valid HTTP?

 
 Reading through the mailing list appends, we were trying to find out how to
 achieve this. It seems that the best solution - in case the HTTP request
 sampler could not help us - will be to code our own Java Sampler or
 BeanShell script. Are we right?. Which is the best approach?. Is there any
 docs/references available on how to extend AbstractJavaSamplerClient apart
 from the SleepTest class?.

If it's not a valid HTTP request then it may not be possible to
persuade either the standard HTTP Protocol handler or the Apache
HTTPClient handler to send the data, in which case it would be
necessary to write a new sampler. However, if it is valid HTTP, but
the existing samplers don't work, then please raise a bug report.

==

We needed to support a private protocol which uses text messages over
TCPIP.  (Not HTTP) I wrote that as a version of the JavaTest Sampler,
but in retrospect this was not the best approach.

I'd recommend looking at the TCP Sampler as a basis instead.

Or you could write it in BeanShell - this is especially useful for
prototyping, as you can write a stand-alone script and test that, and
then plug it into the sampler.

S.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sending binary data in HTTP Request body

2005-03-10 Thread Sonam Chauhan
 On Thu, 10 Mar 2005 12:08:16 +, Isabel Beltran [EMAIL PROTECTED]
 wrote:
 
  We are trying to use JMeter to load test an application which uses HTTP
  protocol through the CICS Web Interface to access a legacy 0S/390
  application. The HTTP request body contains binary data, it does not
 contain
  name/value pairs. Is there any way that the HTTP request sampler could
  accept binay data as the body of the request?.

Sebb wrote:
 Is this a POST or a GET command?
 Indeed is it valid HTTP?

HTTP is 8-bit clean, so it's perfectly normal to send a binary payload. 

 However, if it is valid HTTP, but
 the existing samplers don't work, then please raise a bug report.

From my understanding of JMeter (Version 1.9.x), the HTTP samplers are
limited to either:
 - URL parameters (GET)
 - name-value variables (POST)

This limits the content body that is sent - for e.g.: an arbitrary MIME
document can't be sent. 

It would be good if all samplers had an option to load an arbitrary file
from disk as their content body. This would make them somewhat analogous to
the XML-RPC sampler, where you can just paste in an arbitrary XML document
as the request content body.

Is there a way to use bean-shell to set the HTTP sampler's content body to
an arbitrary value?

Regards,
Sonam Chauhan
-- 
Electronic Commerce, Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Email: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE Cookie Manager Session Issue

2005-03-10 Thread kroberts




I am having a problem with my application managing HttpSession state when
ran from JMeter. The application is designed to create an HttpSession
instance upon the initial request and subsequent requests get the session
reference by calling request.getSession(). This application works fine when
ran from IE; but when ran from JMeter, the initial request creates a valid
instance of HttpSession and all subsequent requests fail with a null
HttpSession reference.

If I run more that one user, only the first user has this problem and the
rest run fine.

I can examine each request from a view results tree and see that a
JSESSIONID cookie is displayed for each request. This would seem to
indicate that the cookie is working fine.

I looked at the JMeter log and didn't find anything. I looked over a few
items in the mail group list; but didn't find anything relavant.

I'm running versions: JMeter 2.0.2  and JDK 1.3.1_06. I've also seen the
same problem on JDK 1.4.2_06. I'm running WebLogic 7.0 SP 2 as the Servlet
container.

I don't know what else to try. I must be missing something here. Any ideas
on things to try or debugging techniques would be greatly appreciated...

Thanks in advance...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: omiting nested url

2005-03-10 Thread Jayashree K
Josef, 
 
R u trying to say that 1 page, redirects to other page?
 
 

Krahe, Chris [EMAIL PROTECTED] wrote:Josef-

Is JMeter automatically requesting that URL when it parses the response
of a page your test plan explicitly requests? For example, JMeter will
do this for images.

If so, turn off this feature for that request and explicitly request the
things you do want.

-Chris

-Original Message-
From: Josef Bohaty [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 11:07 AM
To: jmeter-user@jakarta.apache.org
Subject: omiting nested url [bcc][faked-from]
Importance: Low

Hi,

We'd like to run Jmeter on our web pages and we are under time pressure.
But there is one problem - on each single page there is one component
refering to external url (something like statistics) but that url has
very long responses and it affects the jmeter statistics then as well as
time spent on it.
Is there any possibility how to omit that url in JMeter? Please, give me
an advice.
Thank you.

Josef

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
Do you Yahoo!?
 Make Yahoo! your home page   

RE: to find out size of _VIEWSTATE

2005-03-10 Thread Jayashree K
Sandeep,
 
Why do u want to find out the viewstate size?
Just fetch that ViewState from the previous page response in variable. 
And pass that in Next http requests, whereever u want.
 
 


K, Sandeep Reddy [EMAIL PROTECTED] wrote:

Hi,

I got you but can't figure out how to write a plugin to parse the
viewstate data can you tell me how can I do that.

Thank you peter 


-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 7:43 PM
To: JMeter Users List
Subject: Re: to find out size of _VIEWSTATE

ahh ok. you're referring to IIS aspx state management features. JMeter
doesn't know anything about non standard stuff like ASPX _VIEWSTATE.
you will probably have to write a plugin to parse the viewstate data,
since it's specific to IIS/ASPX.

peter




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

RE: How to record script in JMETER without proxy server?

2005-03-10 Thread Jayashree K
:-)
Mike,
 
I recorded script in bad boy and now I'm trying to execute that in JMeter. 
Will that also create a prob in JMeter? (I means HTTPS).
Is any special settings I need to take care of?
 
Another prob, with me is my records are not getting saved in database.
And Post query is on https only  :-(
 
 


Michael Stover [EMAIL PROTECTED] wrote:
HTTPS requests cannot be intercepted and recorded by JMeter.
http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-d7d6b439cbb64a17ac50c302cf9bbc483ccc0d3e

-Mike

On Thu, 2005-03-10 at 01:01, Jayashree K wrote:
 :-))
 This is very strange. I tried it outguess what???
 It DID WORKED for me even :-)
 
 But, still I got stuck in further problem. It did worked for HTTP request. I 
 means HTTP Protocol got recorded...but since in between there is HTTPS 
 ...protocol. Recording stopped and I can't move further now. :-(
 
 Any other strange idea for this?
 
 Thx,
 Jayashree
 
 Kiran wrote:
 Hi ,
 I am very new to jmeter.But I faced this .In that case What I did is
 ,I gave the URL of website and site is loaded. Then I change the
 settings as local host and 80. Click START in jmeter to record. I was
 able to go navigate and record.
 
 Instead if u change setting to localhost and 80 at the beginning and
 try to load the site ,it will give page cannot be displayed.
 
 I am not sure whether it is the correct way. But it worked for me.
 
 Regards Kiran
 
 
 
 -Original Message-
 From: Jayashree K [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 10, 2005 10:22 AM
 To: jmeter-user@jakarta.apache.org
 Subject: How to record script in JMETER without proxy server? 
 
 
 Jmeter help says to have IE Settings and Jmeter-HTTP Proxy server to be
 same. specify Ex: Localhost 80 at both the places. Then recording
 happesn. TRUE.
 
 But here, When I specify localhost and 80 in my IE. I'm not able to see
 the website (Page can't be displayed comes.) Here, proxy is transperent.
 So now what to do?
 
 Unless and until I specify anything, HOW can i record?
 
 From SysAdmin, I got to know one IP and 3128 as port. When I set that
 in IE...i can access the pages.
 But when I specify that in HTTP Proxy Server of JMETER...It doesn't
 work. REcording doesn't happen.
 
 Is there any way to do the recording in JMeter in such cases?
 OR If Address and port is other than 80 or 8080. How to do recording
 with other machines IP and Port??
 
 Can anyone plz let me know the steps to do?
 
 Thx
 Jayashree
 
 
 
 -
 Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 Do you Yahoo!?
 Make Yahoo! your home page 
-- 
Michael Stover 
Apache Software Foundation


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

Re: to find out size of _VIEWSTATE

2005-03-10 Thread Peter Lin
sorry for the delay in responding. I don't know enough about the
viewstate to parse it. I can assist you with the jmeter part, but the
viewstate part you should ask on msdn.

peter


On Thu, 10 Mar 2005 09:45:04 -0500, K, Sandeep Reddy
[EMAIL PROTECTED] wrote:
 
 Hi,
 
 I got you but can't figure out how to write a plugin to parse the
 viewstate data can you tell me how can I do that.
 
 Thank you peter
 
 
 -Original Message-
 From: Peter Lin [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 10, 2005 7:43 PM
 To: JMeter Users List
 Subject: Re: to find out size of _VIEWSTATE
 
 ahh ok. you're referring to IIS aspx state management features. JMeter
 doesn't know anything about non standard stuff like ASPX _VIEWSTATE.
 you will probably have to write a plugin to parse the viewstate data,
 since it's specific to IIS/ASPX.
 
 peter
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]