Assertion to compare two numbers

2005-10-18 Thread Sonam Chauhan
Hello - I'm a bit lost here :-) My test needs to verify "include-tax" settings were obeyed when calculating price. Since prices will vary with time, I can't use hardcoded response assertions. So my test plan logs into two accounts - one set to include tax, and one not to. Prices of the same i

RE: Testing authentication

2005-10-18 Thread alex.yallop
Scott, There is no option in samplers to select an HTTPS Request, I have however set the protocol to HTTPS. Al -Original Message- From: Elderkin, Scott [mailto:[EMAIL PROTECTED] Sent: Monday, October 17, 2005 5:11 PM To: JMeter Users List Subject: RE: Testing authentication > I have

Re: Testing authentication

2005-10-18 Thread Manish Joshi
try 'User paramters' add it to test plan. On 10/18/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Scott, > > There is no option in samplers to select an HTTPS Request, I have > however set the protocol to HTTPS. > > Al > > -Original Message- > From: Elderkin, Scott [mailto:[EMAIL PRO

Using SimpleDateFormat in CSV output format

2005-10-18 Thread Jan Linders
Hi, I'm trying to save result data in a CSV file with a timestamp like : DD/mm/dd HH:mm:ss I specified this in the jmeter.properties files like : jmeter.save.saveservice.timestamp_format=DD/mm/dd HH:mm:ss The same is specified in one of the examples However, whatever I do, I do not get the for

Functional test mode : where data are registered ?

2005-10-18 Thread Bruno Charloup
Hi all, I'm working with JMeter in order to produce non regression test plan. I want to record all the pages requested during the creation of my test plan, then I check the checkbox "Functional Test Mode" in the test plan dialog box. When my scenario is finished, I don't know where I can find regis

IF controller NOT?

2005-10-18 Thread Jelmer de Haas
Hi, I have a small problem with my IF controller. I want to use an IS NOT condition, but cannot find anything specific in the manual. Tried <>, !=, and NOT but they don't seem to work. What should I use here? Thanks, Jelmer de Haas

Re: IF controller NOT?

2005-10-18 Thread sebb
If controller requires valid JavaScript. Remember to quote strings. S. On 18/10/05, Jelmer de Haas <[EMAIL PROTECTED]> wrote: > Hi, > > I have a small problem with my IF controller. I want to use an IS NOT > condition, but cannot find anything specific in the manual. Tried <>, > !=, and NOT but t

Re: Functional test mode : where data are registered ?

2005-10-18 Thread sebb
In the result log file. You'll need to add a Listener (e.g. Simple Data Writer) to create this. Or, if you are running non-GUI, you can add the -l command-line flag. Or use jmeter-n.bat, which does this for you. S. On 18/10/05, Bruno Charloup <[EMAIL PROTECTED]> wrote: > Hi all, > I'm working wit

Re: Assertion to compare two numbers

2005-10-18 Thread sebb
This is a job for an Assertion. The BeanShell Assertion is currently the only Assertion that can perform such checks currently: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Assertion Have a look at the sample. S. On 18/10/05, Sonam Chauhan <[EMAIL PROTECTED]> w

Re: Any issues with Webservice(soap) request sampler and Cookie Manager?

2005-10-18 Thread m mat
Sorry I was off line for some time, just saw this. My problem was that cookie manager apparently does not work with SOAP calls using the webservices sampler. So I had to work around to create my own "cookie manager". Using a post processor regular expression, I extracted session value from th

RE: IF controller NOT?

2005-10-18 Thread Jelmer de Haas
I use the following in the If controller '${query}' != '---' The ${query} is coming from a column in a .cvs file. If I use '${query}' == '---' the expected (but incorrect) actions are executed. To my knowledge in javascript the != should be the correct statement for IS NOT. I use a 2.1-200

Null pointer Exception in

2005-10-18 Thread m mat
Hi I am not sure how to explain it, but all my scripts suddenly strted giving me this error in log file: 2005/10/18 04:08:30 ERROR - jmeter.threads.JMeterThread: java.lang.NullPointerException at org.apache.soap.transport.TransportMessage.read(TransportMessage.java:206) at org.apache.soap.uti

Re: IF controller NOT?

2005-10-18 Thread sebb
2.1.1 is a more recent build; might be worth trying that, or indeed the current nightly build. Are there any warnings/errors in jmeter.log? Might be worth wrapping the code in __log(), i.e. ${__log('${query}' != '---')} This should log the string to jmeter.log, and then return it for JavaScript

Re: JMeter Proxy failure: Unsupported Media Type

2005-10-18 Thread Michael Riedling
That´s it. I tried to record Soap Requests from a Java Client with the JMeter Proxy. But the Record Controller detected it as a Http Request. Peter Lin schrieb: I'm not sure I understand the problem. the soap webservice sampler was designed so that users can past the soap message in the sampler

Re: JMeter Proxy failure: Unsupported Media Type

2005-10-18 Thread Peter Lin
unfortunately, that's a limitation of jmeter's proxy. It really only expects request parameters. Microsoft's webservice toolkit has a proxy that is designed to record SOAP calls, you might want to try using that to record the soap calls. peter lin On 10/18/05, Michael Riedling <[EMAIL PROTECTED]

cookie manager

2005-10-18 Thread Maness, Marty
I'm still having trouble with cookie manager on the new version of apache 2.1.1. The cookie manager on 2.0.0 works fine for me. A couple things to note - the expiration date of the cookie sent by the server has an expiration date in the past. Could this be the issue? Jmeter just stops, and in t

Re: cookie manager

2005-10-18 Thread sebb
If the expiration date is in the past, then the cookie is surely not valid? I think there were some changes since 2.0.0 to fix cookie date handling. However, JMeter should not just stop. Any messages in jmeter.log? or the console window? What happens with JMeter 2.0.3? I'd expect it to behave li

Re: cookie manager

2005-10-18 Thread Peter Lin
hmm... if the expiration date is in the past, (ie older than today ) that could be the cause. AFAIK, the httpsampler just sets the header, so it could be Sun's httpconnection class handles it that way. peter On 10/18/05, Maness, Marty <[EMAIL PROTECTED]> wrote: > > I'm still having trouble with

Re: cookie manager

2005-10-18 Thread sebb
I don't think so. HTTP Request cookies don't include the expiration date - it's only the server response Set-Cookie header that includes them. It is up to the client cookie handler to deal with expiration dates and either add the cookie to the request or not, as the case may be. S. On 18/10/05,

RE: cookie manager

2005-10-18 Thread Maness, Marty
I do not get any error messages. It just stops. What's interesting is the application is a third party application - so I don't have a means to talk to the developers, but each request to the server, it sends down a new sessionid in an expired cookie? I tried on 2.0.3 and got the same results as

Re: cookie manager

2005-10-18 Thread sebb
Can you perhaps send me jmeter.log from a run that just stops? S. On 18/10/05, Maness, Marty <[EMAIL PROTECTED]> wrote: > I do not get any error messages. It just stops. What's interesting is > the application is a third party application - so I don't have a means > to talk to the developers, bu

RE: cookie manager

2005-10-18 Thread Maness, Marty
It is sent. There is an error in the log. I was looking at the wrong file. Marty Maness Project Manager - DoIT Phone: 402-280-3931 Creighton University -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 9:30 AM To: JMeter Users List Subject: Re: c

Re: cookie manager

2005-10-18 Thread sebb
The error is "java.lang.NoSuchMethodError" reported from HTTPSampler. Unfortunately the method name is not shown ... This could be caused by trying to use the HTTPS protocol without having downloaded JSSE (the Java version is 1.3.1.9) Java 1.3 is obsolete, and does not always work properly with J

RE: cookie manager

2005-10-18 Thread Maness, Marty
Thanks, will give this a try and let you know. Marty Maness Project Manager - DoIT Phone: 402-280-3931 Creighton University -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 9:55 AM To: JMeter Users List Subject: Re: cookie manager The error is "jav

RE: cookie manager

2005-10-18 Thread Maness, Marty
I downloaded and installed 1.4.2 and Jmeter is now running through the whole test correctly(not just stopping). Still having a problem with the cookie manager though, in the response headers the cookie value for sessid is not being populated, the expiration date is in the past? Marty Maness Proje

Recursive Include controller

2005-10-18 Thread Pavel Gouchtchine
Hi All. If an Include controller points to a module with another include controller, this last one will not be executed. Is it done on purpose or it is a bug? Thank you. Pavel

Re: Recursive Include controller

2005-10-18 Thread Peter Lin
the current implementation expects the included module will be a SimpleController. that's one limitation of the current implementation. peter On 10/18/05, Pavel Gouchtchine <[EMAIL PROTECTED]> wrote: > > Hi All. > If an Include controller points to a module with another include > controller, > t

Re: cookie manager

2005-10-18 Thread sebb
Try enabling debug, by setting the the following property in jmeter.properties: log_level.jmeter.protocol.http.control.CookieManager=DEBUG or on the command-line: -Jjmeter.protocol.http.control.CookieManager=DEBUG Might help to narrow down the problem. S. On 18/10/05, Maness, Marty <[EMAIL PRO

Re: Null pointer Exception in

2005-10-18 Thread m mat
Any body knows the possible causes for getting this error? Matt m mat <[EMAIL PROTECTED]> wrote: Hi I am not sure how to explain it, but all my scripts suddenly strted giving me this error in log file: 2005/10/18 04:08:30 ERROR - jmeter.threads.JMeterThread: java.lang.NullPointerException at

Re: Null pointer Exception in

2005-10-18 Thread sebb
The relevant code appears to be: SOAPContext ctx; TransportMessage response; try { // Create response SOAPContext. ctx = new SOAPContext(); // Read content. response = new TransportMessage(is, respContentLength,

Re: Using SimpleDateFormat in CSV output format

2005-10-18 Thread sebb
Looks like a bug in the CSV save code. I'll try and fix it. S. On 18/10/05, Jan Linders <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to save result data in a CSV file with a timestamp > like : DD/mm/dd HH:mm:ss > > I specified this in the jmeter.properties files > like : jmeter.save.saveservic

Re: Null pointer Exception in

2005-10-18 Thread Manish Mathuria
Hi Sebb This thing happens intermittently under no load conditions. Not sure if there is some resource shortage going on. No other messages in log either. Please let me know if you can sense anything I could do here Matt sebb <[EMAIL PROTECTED]> wrote: The relevant code appears to be: SOA

Can JMeter Modify Parameters in a Http-Request-File ?

2005-10-18 Thread tdev
I have an http-request-sampler with the option "Send a File with the Request". The file is a xml-file and has some parameters which I must replace from a previous respond and from a data File before it get send out. How can I achieve this with Jmeter? Any ideas ?

Re: Using SimpleDateFormat in CSV output format

2005-10-18 Thread sebb
Fixed (hopefully) in the latest nightly: 2-1.20051018 BTW, DD/mm/dd is a bit of a strange date format ... S. On 18/10/05, sebb <[EMAIL PROTECTED]> wrote: > Looks like a bug in the CSV save code. > > I'll try and fix it. > > S. > On 18/10/05, Jan Linders <[EMAIL PROTECTED]> wrote: > > Hi, > > > >

Re: JMeter Proxy failure: Unsupported Media Type

2005-10-18 Thread sebb
However, it might be possible to add some checks in the JMeter Proxy code to see if the request was a SOAP request and generate the appropriate Sampler. Dunno how difficult that would be - I've never used SOAP. S. On 18/10/05, Peter Lin <[EMAIL PROTECTED]> wrote: > unfortunately, that's a limitat

Re: JMeter Proxy failure: Unsupported Media Type

2005-10-18 Thread Peter Lin
I suppose it's possible, too bad I have no clue how the jmeter proxy recorder works. the soap message is usually in the request body. I suppose we could add a simple option for the proxy recorder so that users can check it. when it's checked, it just grabs the entire request body as a soap message

Re: JMeter Proxy failure: Unsupported Media Type

2005-10-18 Thread sebb
Would one ever want to record SOAP as well as HTTP in the same session? S. On 18/10/05, Peter Lin <[EMAIL PROTECTED]> wrote: > I suppose it's possible, too bad I have no clue how the jmeter proxy > recorder works. > > the soap message is usually in the request body. I suppose we could add a > simp

Re: JMeter Proxy failure: Unsupported Media Type

2005-10-18 Thread Peter Lin
normally, the answer would be no, but that depends on the webservice toolkit. AFAIK, Sun, IBM and MS webservice toolkits don't explicitly say "do not mix". from my experience the last 3 years, webservice calls are between systems, so it's generally the important information is in the httpheader an

ThreadGroup Number of Threads

2005-10-18 Thread Subu Bhagavati
Hi, I am trying to use JMeter to load test. I had to write a JavaSampler as a part of this. I have extended AbstractJavaSamplerClient. The problem I am facing is this. I would like to know the number of threads I have started for this ThreadGroup at run time. I have looked at the API for ThreadG

RE: Assertion to compare two numbers

2005-10-18 Thread Sonam Chauhan
Thanks a lot Sebb. I think I can't use a Beanshell assertion. The JMeter version we're currently frozen at is 1.9.1 (we version control it along with the testcases - otherwise things break :) I was playing with an 'If controller' with this condition: ${__javaScript( if ( ${include_tax_price} <=

Problems with While Controller

2005-10-18 Thread ravi kumar
hi   please find the attaches JMX file.According to script,my URl needs to be executed 3 times.But it is executing for 4 times.Am I doing anything wrong.If not what can i do solve this issue.I am using JMeter2.1.I tried it in JMeter2.1.1 also.   thanks   Ravi   Yahoo! India Matrimony