RE: support for a dynamic web application

2005-11-14 Thread Sivakumar V. ECS-Chennai
Hi, You can do this by using the HTML Link Parser pre processor. By using this you can retrive the form data and the link from the previous resonse and use it for the request. R u convinced ?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 1

support for a dynamic web application

2005-11-14 Thread gregsfm
Hi, Does JMeter have a means of supporting an easy approach to record navigating through a dynamic web application, where each request relies on building up a new URL request with form parameters and noting the server side of the web application maintains session state for the user. For examp

Re: HTTP Proxy Server and Regex Matching

2005-11-14 Thread sebb
On 02/11/05, Ryszard Łach <[EMAIL PROTECTED]> wrote: > Dnia środa, 2 listopada 2005 14:09, sebb napisał: > > Sounds like a useful enhancement - but I'm not clear how would you > > tell JMeter how to find the text. > > > > Do you have any suggestions for the changes to the UI? > > > > Maybe another

Re: HTTRequest / Set-Cookie

2005-11-14 Thread sebb
If you add the valid settings to a Cookie Manager, the danger is that the initial server response will reset them. So it looks like you'll need to provide the cookies for the login page only; do this by adding a Cookie Manager as a child of the login request. Cookie Managers are applied to all sa

Re: SOAP "Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope"

2005-11-14 Thread Richard Gaywood
On 11/14/05, Peter Lin <[EMAIL PROTECTED]> wrote: > > there's a setting in jmeter.properties. change it from INFO to DEBUG and > rerun it. if there's an error happening with Apache SOAP, it should output > the error to jmeter.log. Aha, I'll see if that provides any more information tomorrow... Th

RE: HTTRequest / Set-Cookie

2005-11-14 Thread Paatsch, Bernd
I know now, why I my login attempt fails. However I haven't figured out how to fix it. I appreciate any suggestions. Explanation: When the site is loaded two cookies are set: Set-Cookie: c_txtLogin=deleted; expires=Sun, 14-Nov-04 21:31:05 GMT; path=/ Set-Cookie: c_pwdPassword=deleted; expires=Sun

Re: SOAP "Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope"

2005-11-14 Thread Peter Lin
there's a setting in jmeter.properties. change it from INFO to DEBUG and rerun it. if there's an error happening with Apache SOAP, it should output the error to jmeter.log. peter On 11/14/05, Richard Gaywood <[EMAIL PROTECTED]> wrote: > > On 11/14/05, Peter Lin <[EMAIL PROTECTED]> wrote: > > > >

Re: SOAP "Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope"

2005-11-14 Thread Richard Gaywood
On 11/14/05, Peter Lin <[EMAIL PROTECTED]> wrote: > > ahh ok. if you're hitting IIS, you will need to make sure the soapAction > value in the webservice (SOAP) sampler is correct. if not, ASPX/ASMX will > return an error. Yeah, I am hitting IIS -- I wasn't expecting the simpler SOAP/XML-RPC compo

Re: SOAP "Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope"

2005-11-14 Thread Peter Lin
ahh ok. if you're hitting IIS, you will need to make sure the soapAction value in the webservice (SOAP) sampler is correct. if not, ASPX/ASMX will return an error. peter On 11/14/05, Richard Gaywood <[EMAIL PROTECTED]> wrote: > > On 11/14/05, Richard Gaywood <[EMAIL PROTECTED]> wrote: > > > > >

Re: SOAP "Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope"

2005-11-14 Thread Richard Gaywood
On 11/14/05, Richard Gaywood <[EMAIL PROTECTED]> wrote: > > > > On 11/14/05, Peter Lin <[EMAIL PROTECTED]> wrote: > > > > can you send a sample test plan to me directly and I'll take a look > > tonight. > > Just in case, make sure there isn't a blank line before > > there's a > > know bug with cri

Re: SOAP "Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope"

2005-11-14 Thread Richard Gaywood
On 11/14/05, Peter Lin <[EMAIL PROTECTED]> wrote: > > can you send a sample test plan to me directly and I'll take a look > tonight. > Just in case, make sure there isn't a blank line before there's > a > know bug with crimson that causes a xml parse error. > I'll try and get you one later. One t

Re: SOAP "Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope"

2005-11-14 Thread Peter Lin
can you send a sample test plan to me directly and I'll take a look tonight. Just in case, make sure there isn't a blank line before there's a know bug with crimson that causes a xml parse error. thanks peter On 11/14/05, Richard Gaywood <[EMAIL PROTECTED]> wrote: > > On 11/14/05, Peter Lin <[

Re: SOAP "Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope"

2005-11-14 Thread Richard Gaywood
On 11/14/05, Peter Lin <[EMAIL PROTECTED]> wrote: > > have you read the user manual? > > http://jakarta.apache.org/jmeter/usermanual/build-ws-test-plan.html Yup, several times. I've even tried typing out the worked example in the third screengrab, i.e. http://www.w3.org/2001/XMLScheme-instance

Re: SOAP "Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope"

2005-11-14 Thread Peter Lin
have you read the user manual? http://jakarta.apache.org/jmeter/usermanual/build-ws-test-plan.html usually this kind of error occurs because Apache SOAP doesn't like the message. Make sure the message has and the namespaces are correct. peter On 11/14/05, Richard Gaywood <[EMAIL PROTECTED]> w

RE: HTTRequest

2005-11-14 Thread Paatsch, Bernd
I try to login to the web site I like to test. I know this sites uses session cookies. What I did is that in the "logon" HTTPRequest I send the login parameters with the request as POST. I did not set anything at the HTTP Session Manager. Here is a sniff from the HTTP Request Header using a mnanua

SOAP "Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope"

2005-11-14 Thread Richard Gaywood
Sorry to keep plaguing the list like this, I think I'm being a bit thick this month but I just keep failing to grasp what JMeter is telling me :o( I've moved on from SQL testing for the moment as our senior DBA is tied up on another project and am currently trying to test a SOAP-driven web service

RE: HTTRequest

2005-11-14 Thread Noam Paz
>> Do I need to add cookies manual via the add button? normally not... what exactly is the error? what parameter do you send with the failing request? Best regards / Viele Grüße Noam Paz

RE: HTTRequest

2005-11-14 Thread Paatsch, Bernd
Nope, I have a HTTP Cookie Manager. Do I need to add cookies manual via the add button? -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Sunday, November 13, 2005 3:37 PM To: JMeter Users List Subject: Re: HTTRequest Missing CookieManager? On 13/11/05, Paatsch, Bernd <[EMA

Re: query on bandwidth connection

2005-11-14 Thread Peter Lin
I did some research into this a few months back for fun. There is a low level network driver that can simulate dropped and corrupt packets, but using it would be tricky. One would have to install the driver on the server and configure it properly. Then running a test from JMeter would be the same.

Re: query on bandwidth connection

2005-11-14 Thread sebb
As Peter says, it's not easy to simulate lower bandwidth. One can add delays to the scripts, but the connections will still only be active for short periods of time, so as far as the server is concerned it will appear to be the user who is slow, rather than the network. One really needs to be abl

Re: What browser is JMeter being recognized as?

2005-11-14 Thread Nop Lists
Hello, On 11/12/05, sebb <[EMAIL PROTECTED]> wrote: > > Which version of JMeter/JVM? JMeter 2.1.1, JVM 1.4.2_05 Did you add a Cookie Manager? Yes. Perhaps the browser is executing some JavaScript that sets a cookie? I have attached the response to the previous posting and there is no JavaSc

Re: query on bandwidth connection

2005-11-14 Thread Peter Lin
currently that is not possible with JMeter. Measuring the performance on a variety of connections like dial-up, dsl, cable modem and T1 is actually rather hard to do. Mercury has the ability to simulate lower bandwidth, but I don't know how "accurate" it is. dail-up connections are notorious for dr

Re: reading input from file

2005-11-14 Thread Bhanu
It works fine! Thanx so much for ur help James! -Bhanu James Bull <[EMAIL PROTECTED]> wrote: O.K. I found that the only way it worked was if I supplied a relative path to the data file. ie My test script was in c:\mytest\test1.jmx the datafile was in c:\mytest\data.csv The filename I s

Re: RE reading input from file

2005-11-14 Thread Bhanu
thanx for the prompt reply..however this doesnt work either. result from assertion listener is as follows: GET https://www.sitestuff.com:443/hypertork/performLogin?username=&password=&login=1 thanx, Bhanu. [EMAIL PROTECTED] wrote: Try this, setting CSV Data Set Config element as subelemen

Re: reading input from file

2005-11-14 Thread James Bull
Hi Bhanu, The first thing that occurs to me is that when I used ' and ' around the username,password string I did this to indicate that the contents should be placed into the variables field. You haven't included them have you? I could have made that clearer. CSV Data Set Config should contain

RE reading input from file

2005-11-14 Thread jerome . dupont
Try this, setting CSV Data Set Config element as subelement of your http request, and not at the beginning of your test plan. -HTTP request : with the path for login web page, GET method and parameters Name as 'username, password, login' with Values '${username}, ${password}, 1' | -C

reading input from file

2005-11-14 Thread Bhanu
* created a 'test.csv' file as fred,password, bob,pass2, terry,pass3 * The test plan has the following elements in the order as below: -CSV Data Set Config : used test.csv as filename, 'username,password' as variable names -User Defined Variables : added two variables - username and passw

Re: reading input from file

2005-11-14 Thread sebb
By the way, if you use CVS Data Set you don't also need User Defined Variables - unless you want to define some diifferent variables. The CSV Data Set reads the file, and sets the contents of the variables accordingly. [Assuming it finds the file!] You can then refer to the variables using the sy

can jmeter handle this fearture

2005-11-14 Thread naveen gs
Hi all, I have recorded a transaction of a web application with 100MBPS connection, now i want to execute the same transaction with different Dail up speed like 128,256,512kbps. Is there any option or element in jmeter so that i can provide this various speed and execute for differ

Re: reading input from file

2005-11-14 Thread James Bull
O.K. I found that the only way it worked was if I supplied a relative path to the data file. ie My test script was in c:\mytest\test1.jmx the datafile was in c:\mytest\data.csv The filename I supplied in the csv dataset config was data.csv If you want it to be in a subdir called data then da

Re: reading input from file

2005-11-14 Thread Bhanu
Hi James, I dint include single quotes around variable names in CSV Data Set Config. And yes, u guessed it right , the file is not being read. 'ERROR - jmeter.config.CSVDataSet: Failed to read file: D:\Sitestuff\test.csv ' How do i handle this? Also, i even tried the test plan wit

Re: Help: login fails but manual logins works fine

2005-11-14 Thread Noam Paz
Hi Bernd, if the web-site uses session cookies, you need to use a HTTP Cookie Manager. Another thing: do login parameter really get passed? Please add a view result tree to your testcase and check under the "Request"-tab. Best regards / Viele Grüße Noam Paz