Hassles generating text assertions

2003-12-09 Thread Sonam Chauhan
Hi - 

I have run into problems getting JMeter to do text assertions on certain
HTML text. 

I want JMeter response assertions to ensures HTML snippets like the one
below occur in the HTTP response:




This requires that things like the quotation mark ('"'), be escaped. JMeter
uses Jakarta-ORO which implements Perl-compatible regular expressions (doco:
http://jakarta.apache.org/oro/index.html). So I figured  using Perl
quotemeta could escape the text properly: 

bash$ perl -le 'print quotemeta q//'


That gave me:

\ 


This worked to an extent. The problem is that Jakarta-ORO/JMeter does not
like certain things Perl quotemeta does -- like the escaping of spaces ('\
'), or escaping square brackets ('\[1\]'). 

Can anyone let me know a good way to escape the HTML snippets above so that
JMeter can use it in a response assertions? 

With regards,
Sonam Chauhan
-- 
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED]
 


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



Re: HI - Http Proxy Server

2003-12-09 Thread andrew . roughan
You mentioned that you were using JBoss on port 8080. Is this on your local machine?
If so, you will have a conflict between the JBoss and JMeter Proxy Server component.
You should modify the default port number of the JMeter Proxy Server component to be 
something else (e.g. 8090) and then setup IE to use that port number (e.g. 8090).

I hope that is clearer for you.

Cheers,
Andrew


- Original Message -
From: "Ranjith K babu" <[EMAIL PROTECTED]>
Date: Wed, 10 Dec 2003 10:50:22 +0530
To: "JMeter Users List" <[EMAIL PROTECTED]>
Subject: Re: HI - Http Proxy Server

> HI Andrew
> 
> 1.I had specified the Host & Port for the Jmeter same as the proxy ip & 
> port ( 10.12.11.176 & 8080 ) 
> 2.then i canged the IE proxy to loaclhost & port as 8080 and tried to 
> record ...but nothing is happening .! and even not able to browse 
> the net also ...! 
> 
> i think am doing in the right way  after installing the Jmeter , i 
> have set the Jmeter-home & the JDK 1.4 path in the environment, do i 
> need to do anything else . did i go wrong anywhere...
> 
> please suggest me how to make the jmeter work for me .
> 
> thanx in advance
> cheers
> Ranjith
> 
> 
> > As I understand it,
> > 
> > 1) You have to tell JMeter what your regular web proxy server is by 
> starting JMeter with the -H -P attributes (for you: 10.12.11.176 & port 
> is 8080)
> > 
> > 2) Then you have to tell IE to use the proxy server that JMeter 
> starts:
> > Set the IE proxy to localhost and port to whatever port you have 
> setup JMeter with (8090?)
> > Ensure that you have turned off "Use Automatic Configuration Script" 
> from that screen in IE.
> > 
> > Hope that helps.
> > 
> > Cheers,
> > Andrew
> > 
> > - Original Message -
> > From: "Ranjith K babu" <[EMAIL PROTECTED]>
> > Date: Tue, 9 Dec 2003 14:39:18 +0530
> > To: "JMeter Users List" <[EMAIL PROTECTED]>
> > Subject: Re: HI - Http Proxy Server
> > 
> > > 
> > > Hi Andrew
> > > 
> > > I have started the Jmeter with the H & P option , but if i change 
> the 
> > > port in the IE ti any thing other than 8080 the net is not working 
> and 
> > > am not able to record any thing in JMeter.
> > > 
> > > say my original proxy ip is 10.12.11.176 & port is 8080 ... 
> > > 1.i started the JMeter with the same IP 10.12.11.176 & port 8090 as 
> my 
> > > port 8080 is used by Jboss for my project , then when i try to 
> browse 
> > > anysite and try to recode then it is saying IE cannot find the site 
> and 
> > > nothing gets recorded in the JMEter .
> > > 2. if i keep the same ip & port as the original proxy ,then am bale 
> to 
> > > browse but not getting recorded in the JMeter.
> > > 
> > > could you please help me out ...!
> > > 
> > > cheers & Thanx in Advance
> > > ranjith
> > > 
> > > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > 
> > -- 
> > ___
> > Sign-up for Ads Free at Mail.com
> > http://promo.mail.com/adsfreejump.htm
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> Ranjith K Babu 
> V&V Engineer ,
> RELQ Software.
> 0044-7742933682
> EmailId:[EMAIL PROTECTED]
> 
> __
> RelQ Software (P) Ltd. - For Verification & Validation
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


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



Re: HI - Http Proxy Server

2003-12-09 Thread Ranjith K babu
HI Andrew

1.I had specified the Host & Port for the Jmeter same as the proxy ip & 
port ( 10.12.11.176 & 8080 ) 
2.then i canged the IE proxy to loaclhost & port as 8080 and tried to 
record ...but nothing is happening .! and even not able to browse 
the net also ...! 

i think am doing in the right way  after installing the Jmeter , i 
have set the Jmeter-home & the JDK 1.4 path in the environment, do i 
need to do anything else . did i go wrong anywhere...

please suggest me how to make the jmeter work for me .

thanx in advance
cheers
Ranjith


> As I understand it,
> 
> 1) You have to tell JMeter what your regular web proxy server is by 
starting JMeter with the -H -P attributes (for you: 10.12.11.176 & port 
is 8080)
> 
> 2) Then you have to tell IE to use the proxy server that JMeter 
starts:
> Set the IE proxy to localhost and port to whatever port you have 
setup JMeter with (8090?)
> Ensure that you have turned off "Use Automatic Configuration Script" 
from that screen in IE.
> 
> Hope that helps.
> 
> Cheers,
> Andrew
> 
> - Original Message -
> From: "Ranjith K babu" <[EMAIL PROTECTED]>
> Date: Tue, 9 Dec 2003 14:39:18 +0530
> To: "JMeter Users List" <[EMAIL PROTECTED]>
> Subject: Re: HI - Http Proxy Server
> 
> > 
> > Hi Andrew
> > 
> > I have started the Jmeter with the H & P option , but if i change 
the 
> > port in the IE ti any thing other than 8080 the net is not working 
and 
> > am not able to record any thing in JMeter.
> > 
> > say my original proxy ip is 10.12.11.176 & port is 8080 ... 
> > 1.i started the JMeter with the same IP 10.12.11.176 & port 8090 as 
my 
> > port 8080 is used by Jboss for my project , then when i try to 
browse 
> > anysite and try to recode then it is saying IE cannot find the site 
and 
> > nothing gets recorded in the JMEter .
> > 2. if i keep the same ip & port as the original proxy ,then am bale 
to 
> > browse but not getting recorded in the JMeter.
> > 
> > could you please help me out ...!
> > 
> > cheers & Thanx in Advance
> > ranjith
> > 
> > 
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -- 
> ___
> Sign-up for Ads Free at Mail.com
> http://promo.mail.com/adsfreejump.htm
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

Ranjith K Babu 
V&V Engineer ,
RELQ Software.
0044-7742933682
EmailId:[EMAIL PROTECTED]

__
RelQ Software (P) Ltd. - For Verification & Validation

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



Re: Subject: Re: JMeter remote test performance problems?

2003-12-09 Thread Eda Srinivasareddy
Hi
 
Can any one provide the sequence diagrams (if not the diagrams, at least steps 
involved) for a distributed GUI and NON-GUI test modes.
 
Thanks & Regards
Eda


-
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

Re: Extending Jmeter !

2003-12-09 Thread Sebastian Bazley
It worked for me last time I tried it.

Note that it is a Post Processor, not a Listener.

S.
- Original Message - 
From: "zze-Clic To Contact JEAN K ext FTRD/DMI/SOP" <[EMAIL PROTECTED]>
To: "JMeter Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 09, 2003 8:29 AM
Subject: RE : Extending Jmeter !


Hi, thanks for replying
I've tried your solution, I've downloaded this class and those which depend. I don't 
see this new listener in the menu!
Karine

-Message d'origine-
De : BAZLEY, Sebastian [mailto:[EMAIL PROTECTED]
Envoyé : lundi 8 décembre 2003 16:37
À : 'JMeter Users List'
Objet : RE: Extending Jmeter !


> -Original Message-
> From: zze-Clic To Contact JEAN K ext FTRD/DMI/SOP
> [mailto:[EMAIL PROTECTED]
> Sent: 08 December 2003 14:59
> To: JMeter Users List
> Subject: Extending Jmeter !
>
>
> Hi,
>
> In my application, I have to save the xml returned by the
> HTTP server in
> a text file. For that, I guess I have to developp a new SampleListener
> which implements SampleListener and extends AbstractVisualizer. When i
> test,  the code contained in the method public void
> sampleOccurred(SampleEvent e) is not taken in account! Can anyone help
> me ?

The latest JMeter in CVS has got a ResultSaver, which can be added to any part of the 
tree. This saves the result to a file. Have
you tried it?

S.

-
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]



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



Re: Is it possible to Terminate JMeter based on results of response assertion?

2003-12-09 Thread Sebastian Bazley
I've added Post Processor to CVS which can be used to stop a thread or the test if a 
sample failed.

Sample usage:

Loop Controller
   Sampler
  Assertion
  Response Action Error Handler

Hope this helps.

S.
- Original Message - 
From: "Sebastian Bazley" <[EMAIL PROTECTED]>
To: "JMeter Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 09, 2003 1:41 AM
Subject: Re: Is it possible to Terminate JMeter based on results of response assertion?


> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 09, 2003 12:40 AM
> Subject: Is it possible to Terminate JMeter based on results of response assertion?
>
>
> > I am using JMeter to send a request to a web service.
> > The web service will respond negatively for many iterations and then could either
> > respond positively once and then respond with an alternative negative response, or
> > simply respond with an alternate negative response
> >
> > What I'd like to do is to terminate sending requests after either the positive or 
> > the alternate negative response has been
> received.
> >
> > Is this possible? If so, how would it be done?
>
> The following suggestions relate to builds after 1.9.1, so you would need to 
> download one of the nightly builds.
>
> The Thread Group now has a set of options for action to be taken on Sampler Error.
> You could set the action to Stop Thread or Stop Test, and then add the appropriate 
> Assertions to cause the Sample to fail where
> required. This assumes that the web service encodes the positive/negative reponse in 
> the data, rather than in the HTTP response
> code - i.e. the Sample responses must be successful; you can then use the Assertion 
> to set the sample as failed.
>
> [The plan was to extend the Stop on Error options to allow more fine-grained 
> control, but this has not yet been implemented.]
>
> However, if you are prepared to code a short Java script, what you ask should be 
> possible using the latest CVS build - provided
that
> you get one with BeanShell support compiled in (the build log will tell you if so). 
> You would also need to download the beanshell
> jar from www.beanshell.org as this is not distributed with JMeter.
>
> The BeanShell Response Assertion allows you access to all the response fields and 
> methods, including stopThread() and stopTest().
>
> The response fields are accessible as the following variables (Strings):
> ResponseData - this is of type byte []
> ResponseCode
> ResponseMessage
> ResponseHeaders
>
> So you could code something like:
>
> if (ResponseCode.equals("123")) {
> Response.setStopThread(true);
> }
>
> >
> > The nature of the web service is such that there will be an unknown number of 
> > initial negative iterations.
> >
>
> Such is life!
>
>
> -
> 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]



regexp extractor and redirected pages

2003-12-09 Thread Mike Lindsey
Is there a way to force the Regexp extractor to extract from a 
redirected page?

I've got some pages that redirect, and I can't extract anything from the 
end result page.  I know this is a known issue, is there a fix in a 
nightly build?  A workaround?

Hit this last night, for a product that's going out in, *checks clock* , 
5 days, 10 hours.

hah hahahahahahah.  ahem.

--
Mike Lindsey
"Ya know I vass normal once.  I came to work vith a tie and a suit and 
sometimes panfs."

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


RE: testing multiple text expressions

2003-12-09 Thread BAZLEY, Sebastian
> -Original Message-
> From: Becky Moore [mailto:[EMAIL PROTECTED]
> Sent: 09 December 2003 16:35
> To: 'JMeter Users List'
> Subject: testing multiple text expressions
> 
> 
> I am trying to test multiple text expressions on the same page. I have
> attempted to force each word to return an error but only the 
> first error
> returns. I need all the errors to return so I can inform my 
> developers of
> the problem without having to run any manual tests. This will 
> also allow me
> to check against the constantly changing requirements. I have 
> attempted
> placing the words in separate 'Assertion Result' components, 
> of course that
> did not change anything. I have also attempted multiple 
> iterations and they
> all show the first error never notifying me of the second. 
> Please let me
> know if I am fighting a losing battle and should give up on 
> seeing if more
> than one specific error at a time.

At present, as soon as an Assertion fails, all other Assertions are ignored.

In fact if the sample fails (e.g. 404) Assertions won't be invoked at all.

S.

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



testing multiple text expressions

2003-12-09 Thread Becky Moore
I am trying to test multiple text expressions on the same page. I have
attempted to force each word to return an error but only the first error
returns. I need all the errors to return so I can inform my developers of
the problem without having to run any manual tests. This will also allow me
to check against the constantly changing requirements. I have attempted
placing the words in separate 'Assertion Result' components, of course that
did not change anything. I have also attempted multiple iterations and they
all show the first error never notifying me of the second. Please let me
know if I am fighting a losing battle and should give up on seeing if more
than one specific error at a time.

 

Thank You,

Becky



Re: HI - Http Proxy Server

2003-12-09 Thread andrew . roughan
As I understand it,

1) You have to tell JMeter what your regular web proxy server is by starting JMeter 
with the -H -P attributes (for you: 10.12.11.176 & port is 8080)

2) Then you have to tell IE to use the proxy server that JMeter starts:
Set the IE proxy to localhost and port to whatever port you have setup JMeter with 
(8090?)
Ensure that you have turned off "Use Automatic Configuration Script" from that screen 
in IE.

Hope that helps.

Cheers,
Andrew

- Original Message -
From: "Ranjith K babu" <[EMAIL PROTECTED]>
Date: Tue, 9 Dec 2003 14:39:18 +0530
To: "JMeter Users List" <[EMAIL PROTECTED]>
Subject: Re: HI - Http Proxy Server

> 
> Hi Andrew
> 
> I have started the Jmeter with the H & P option , but if i change the 
> port in the IE ti any thing other than 8080 the net is not working and 
> am not able to record any thing in JMeter.
> 
> say my original proxy ip is 10.12.11.176 & port is 8080 ... 
> 1.i started the JMeter with the same IP 10.12.11.176 & port 8090 as my 
> port 8080 is used by Jboss for my project , then when i try to browse 
> anysite and try to recode then it is saying IE cannot find the site and 
> nothing gets recorded in the JMEter .
> 2. if i keep the same ip & port as the original proxy ,then am bale to 
> browse but not getting recorded in the JMeter.
> 
> could you please help me out ...!
> 
> cheers & Thanx in Advance
> ranjith
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


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



RE: refresh value problem ['Watchdog': checked]

2003-12-09 Thread Becky Moore
Kannan,

Thank you. I'm in and getting the expected data.

Becky

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 09, 2003 8:08 AM
To: JMeter Users List
Subject: Re: refresh value problem ['Watchdog': checked]






Becky,

When u do the test manually and record it, it will be fine.
But when u run the test script from the Jmeter, it will not, the problem
could be session maintainence.
Do one thing, add a HTTP Cookie Manager at your controller level. Once it
is added, definitely it will maintain the session through out the test.

Try it and lets us know,
Cheers,
-Kannan.




 

"Becky Moore"

<[EMAIL PROTECTED]   To: "'JMeter Users List'"
<[EMAIL PROTECTED]>
h.com>   cc:

 Subject: refresh value problem
['Watchdog': checked]  
09/12/03 12:59

Please respond

to "JMeter

Users List"

 

 




I am using jmeter for unit testing and having a problem with the
refresh value. When I manually use the system all goes well, I am
able to record all the samples. I try to run the test on the recorded
samples and the only return I get is the login screen. The
refresh/reload value appears to be based on a time value and since I
am testing (the test includes logging in and out) after the recorded

time the system will not respond properly. Is there a way of changing the
value, maybe there is a component that I
missed? I have looked through all the documentation.

I have tried using "Html Link Parser" and "HTTP URL Re-Writing Modifier"

perhaps I used them incorrectly but I don't think so. I'll try anything at
this point.


Thanks
Becky




This email and any attachments to it may contain confidential information
intended for the addressee only. If you are not the intended addressee, you
are strictly prohibited from disclosing, copying, distributing or using
this email in any way. Unauthorised use of the information contained in
this email is unlawful. If you have received this email in error please
notify us on [EMAIL PROTECTED] and delete the email from your system.

Information contained in this email can not be disclosed, copied,
distributed or used in any way without the prior consent of the sender. Any
opinions, advice or facts given in this email are given without warranty or
the intention to enter into an agreement unless specifically stated and
confirmed by agreement, letter or such other documentation signed by an
authorised signatory of BCA Holdings Limited or any of its subsidiary
companies.

Any personal information contained in this email is strictly the view of
the sender and is in no way authorised or attributable to BCA  Holdings
Limited or any of its subsidiary companies in any way. All emails through
the company gateway are subject to monitoring. The company cannot be held
liable for any errors or viruses contained in this message.


-
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: JMeter :: TCP Programs :: Testing ['Watchdog': checked]

2003-12-09 Thread Jordi Salvat i Alabart
I don't know the abilities of the new TCP Sampler, but unless that fits 
your proprietary protocol (which, from your description, is unlikely), 
you need to either:
- Create a new sampler for your proprietary protocol
or
- Use the Java Sampler to run your client code, which will send the 
events to the server.

Hope this helps.

--
Salut,
Jordi.

En/na [EMAIL PROTECTED] ha escrit:




Dear All,

I have a web system, running on Apache + JServ and Applets at the bottom
frame.
The  web (upper frame in html) communicates with Apache server on standard
http port.
The Applets (Lower frame in html) communicates to my TCP server programs on
a different port.
The Applets, sends a series of java requests(events) to the TCP server
program (java socket program)
which handles the event and processes it and broadcasts the results.
For example,
Consider a chat system, where the client is an Applet, which sends series
of Chat events to a Chat Server(say TCP socket prg.)
and the Chat server handles those events and broadcasts it to all connected
users.
I am in a position to test the Load of this programs, By simulating say
1000 users sending/receiving events to and from the server.
Will this kind of Simulation test possible using JMeter ?
Or
Do I need to write my own programs for testing this kind of System ?
Or
Can I extend JMeter's functionality to generate such TCP requests (Sending
series of Java Objects) ?
Your inputs please.

Cheers,
-Kannan.
This email and any attachments to it may contain confidential information
intended for the addressee only. If you are not the intended addressee, you
are strictly prohibited from disclosing, copying, distributing or using
this email in any way. Unauthorised use of the information contained in
this email is unlawful. If you have received this email in error please
notify us on [EMAIL PROTECTED] and delete the email from your system.
Information contained in this email can not be disclosed, copied,
distributed or used in any way without the prior consent of the sender. Any
opinions, advice or facts given in this email are given without warranty or
the intention to enter into an agreement unless specifically stated and
confirmed by agreement, letter or such other documentation signed by an
authorised signatory of BCA Holdings Limited or any of its subsidiary
companies.
Any personal information contained in this email is strictly the view of
the sender and is in no way authorised or attributable to BCA  Holdings
Limited or any of its subsidiary companies in any way. All emails through
the company gateway are subject to monitoring. The company cannot be held
liable for any errors or viruses contained in this message.
-
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]


My HTTP Authorisation is failing

2003-12-09 Thread andrew . roughan
JMeter is not applying authorisation to my HTTP Request.
I don't understand why.

I am using JMeter 1.9.1.
My Test Plan is in Functional Test Mode.
I have a HTTP Authorisation Manager in my Test Plan at a higher level than my Thread 
Group.
My Base URL is "http://2mmm.listenerpoints.com/2mmm/members/buyme/buyprize.pl";
altough I have also tried "2mmm.listenerpoints.com", "2mmm.listenerpoints.com/2mmm" 
and "2mmm.listenerpoints.com/2mmm/members" with the same result.

I have set Thread Group to Loop Count of 1 (or any number with the same result).
On the HTTP request, my server is set to "2mmm.listenerpoints.com" and the path is set 
to "/2mmm/members/buyme/buyprize.pl".
I have a simple data writer to capture the response.

In the output file I get a 401 Unauthorized error.
The URL Request that appears in the output file is
"http://2mmm.listenerpoints.com/2mmm/members/buyme/buyprize.pl?prizeid=228&quantity=1&firstname=Andrew";
When I put this directly into my browser, I am prompted to enter my username and 
password.
Therefore I think the HTTP Request is setup correctly.

Can anyone see what am I doing wrong with the HTTP Authorisation Manager?

Thanks,
Andrew


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


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



Re: refresh value problem ['Watchdog': checked]

2003-12-09 Thread KKanagaraj





Becky,

When u do the test manually and record it, it will be fine.
But when u run the test script from the Jmeter, it will not, the problem
could be session maintainence.
Do one thing, add a HTTP Cookie Manager at your controller level. Once it
is added, definitely it will maintain the session through out the test.

Try it and lets us know,
Cheers,
-Kannan.




   

"Becky Moore"  

<[EMAIL PROTECTED]   To: "'JMeter Users List'" <[EMAIL 
PROTECTED]>
h.com>   cc:   

 Subject: refresh value problem 
['Watchdog': checked]  
09/12/03 12:59 

Please respond 

to "JMeter 

Users List"

   

   




I am using jmeter for unit testing and having a problem with the
refresh value. When I manually use the system all goes well, I am
able to record all the samples. I try to run the test on the recorded
samples and the only return I get is the login screen. The
refresh/reload value appears to be based on a time value and since I
am testing (the test includes logging in and out) after the recorded

time the system will not respond properly. Is there a way of changing the
value, maybe there is a component that I
missed? I have looked through all the documentation.

I have tried using "Html Link Parser" and "HTTP URL Re-Writing Modifier"

perhaps I used them incorrectly but I don't think so. I'll try anything at
this point.


Thanks
Becky




This email and any attachments to it may contain confidential information
intended for the addressee only. If you are not the intended addressee, you
are strictly prohibited from disclosing, copying, distributing or using
this email in any way. Unauthorised use of the information contained in
this email is unlawful. If you have received this email in error please
notify us on [EMAIL PROTECTED] and delete the email from your system.

Information contained in this email can not be disclosed, copied,
distributed or used in any way without the prior consent of the sender. Any
opinions, advice or facts given in this email are given without warranty or
the intention to enter into an agreement unless specifically stated and
confirmed by agreement, letter or such other documentation signed by an
authorised signatory of BCA Holdings Limited or any of its subsidiary
companies.

Any personal information contained in this email is strictly the view of
the sender and is in no way authorised or attributable to BCA  Holdings
Limited or any of its subsidiary companies in any way. All emails through
the company gateway are subject to monitoring. The company cannot be held
liable for any errors or viruses contained in this message.


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



refresh value problem

2003-12-09 Thread Becky Moore
I am using jmeter for unit testing and having a problem with the
refresh value. When I manually use the system all goes well, I am
able to record all the samples. I try to run the test on the recorded
samples and the only return I get is the login screen. The
refresh/reload value appears to be based on a time value and since I
am testing (the test includes logging in and out) after the recorded 

time the system will not respond properly. Is there a way of changing the
value, maybe there is a component that I
missed? I have looked through all the documentation.

I have tried using "Html Link Parser" and "HTTP URL Re-Writing Modifier" 

perhaps I used them incorrectly but I don't think so. I'll try anything at
this point.


Thanks
Becky



JMeter :: TCP Programs :: Testing ['Watchdog': checked]

2003-12-09 Thread KKanagaraj





Dear All,

I have a web system, running on Apache + JServ and Applets at the bottom
frame.
The  web (upper frame in html) communicates with Apache server on standard
http port.
The Applets (Lower frame in html) communicates to my TCP server programs on
a different port.

The Applets, sends a series of java requests(events) to the TCP server
program (java socket program)
which handles the event and processes it and broadcasts the results.

For example,
Consider a chat system, where the client is an Applet, which sends series
of Chat events to a Chat Server(say TCP socket prg.)
and the Chat server handles those events and broadcasts it to all connected
users.

I am in a position to test the Load of this programs, By simulating say
1000 users sending/receiving events to and from the server.
Will this kind of Simulation test possible using JMeter ?
Or
Do I need to write my own programs for testing this kind of System ?
Or
Can I extend JMeter's functionality to generate such TCP requests (Sending
series of Java Objects) ?

Your inputs please.

Cheers,
-Kannan.

This email and any attachments to it may contain confidential information
intended for the addressee only. If you are not the intended addressee, you
are strictly prohibited from disclosing, copying, distributing or using
this email in any way. Unauthorised use of the information contained in
this email is unlawful. If you have received this email in error please
notify us on [EMAIL PROTECTED] and delete the email from your system.

Information contained in this email can not be disclosed, copied,
distributed or used in any way without the prior consent of the sender. Any
opinions, advice or facts given in this email are given without warranty or
the intention to enter into an agreement unless specifically stated and
confirmed by agreement, letter or such other documentation signed by an
authorised signatory of BCA Holdings Limited or any of its subsidiary
companies.

Any personal information contained in this email is strictly the view of
the sender and is in no way authorised or attributable to BCA  Holdings
Limited or any of its subsidiary companies in any way. All emails through
the company gateway are subject to monitoring. The company cannot be held
liable for any errors or viruses contained in this message.


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



pdf content in a web page

2003-12-09 Thread balaji.karuppiah

hai all  ,,
can anybody help me by mailing me ,

whether   I can test pdf content in a web page using the Jmeter  .
I must get the content  of the pdf in the web page  in the results tree  .
we  can get an HTML content , but I am not able to get PDF content   , such
that I can save the   content in the database  ...

balaji



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



Re: HI - Http Proxy Server

2003-12-09 Thread Ranjith K babu

Hi Andrew

I have started the Jmeter with the H & P option , but if i change the 
port in the IE ti any thing other than 8080 the net is not working and 
am not able to record any thing in JMeter.

say my original proxy ip is 10.12.11.176 & port is 8080 ... 
1.i started the JMeter with the same IP 10.12.11.176 & port 8090 as my 
port 8080 is used by Jboss for my project , then when i try to browse 
anysite and try to recode then it is saying IE cannot find the site and 
nothing gets recorded in the JMEter .
2. if i keep the same ip & port as the original proxy ,then am bale to 
browse but not getting recorded in the JMeter.

could you please help me out ...!

cheers & Thanx in Advance
ranjith

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



RE : Extending Jmeter !

2003-12-09 Thread zze-Clic To Contact JEAN K ext FTRD/DMI/SOP
Hi, thanks for replying
I've tried your solution, I've downloaded this class and those which depend. I don't 
see this new listener in the menu!
Karine

-Message d'origine-
De : BAZLEY, Sebastian [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 8 décembre 2003 16:37
À : 'JMeter Users List'
Objet : RE: Extending Jmeter !


> -Original Message-
> From: zze-Clic To Contact JEAN K ext FTRD/DMI/SOP 
> [mailto:[EMAIL PROTECTED]
> Sent: 08 December 2003 14:59
> To: JMeter Users List
> Subject: Extending Jmeter !
> 
> 
> Hi,
> 
> In my application, I have to save the xml returned by the
> HTTP server in
> a text file. For that, I guess I have to developp a new SampleListener
> which implements SampleListener and extends AbstractVisualizer. When i
> test,  the code contained in the method public void
> sampleOccurred(SampleEvent e) is not taken in account! Can anyone help
> me ?

The latest JMeter in CVS has got a ResultSaver, which can be added to any part of the 
tree. This saves the result to a file. Have you tried it?

S.

-
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]