Re: cookie informations generated in the first thread group to be passed to the second thread group.
On Mon, 11 Oct 2004 16:27:27 -0700, Senthil Subbiah <[EMAIL PROTECTED]> wrote: > > > Hi sebb, > > Under the same test planâcan I have more than one threads? Yes, and you can even have multiple thread groups. > If yes, then I am not able to access cookie informations in the second > thread? No, cookie information is private to the thread. A thread simulates a user session, and user sessions normally need separate cookies. > Is there any way to group the requests to have a better display of report. What do you mean? > Please suggest. > > Thanks > -Senthil > > > > > -Original Message- > From: Senthil Subbiah > Sent: Thursday, October 07, 2004 12:42 PM > To: [EMAIL PROTECTED] > Subject:cookie informations generated in the first thread group to > be passed to the second thread group. > > Hi All, > > I want two thread groups running under a test plan. > And I want the cookie informations generated in the first thread group to be > passed to the second thread group. > > Is it possible to have multiple thread groups under a test plan? > And can these thread groups be made to access the cookie information? > And can I access the value extracted from the response of one request of > first thread group to be available for the next? > > Please suggest. > > Thanks > -senthil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
hi
hi, How to record the web pages where HTPPS protocol is used. We tried with help manual. But could not do it. Regards, Ananda Bairy
Re: hi
On Tue, 12 Oct 2004 19:45:15 +0530, Ananda Bairy <[EMAIL PROTECTED]> wrote: > hi, > > How to record the web pages where HTPPS protocol is used. > We tried with help manual. But could not do it. That's because it's not possible. See the JMeter FAQ http://wiki.apache.org/jakarta-jmeter/JMeterFAQ in particular: http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-d7d6b439cbb64a17ac50c302cf9bbc483ccc0d3e > Regards, > Ananda Bairy > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Interleave controller
Is the interleave controller designed to ignore empty subcontrollers? I have a group of http samplers that I only want to run on every other iteration. I put in an interleave controller and put two simple controllers under it. in one simple controller I put the samplers I wanted to run every other iteration and left the other simple controller empty. I had assumed this would cause jmeter to run this group of samplers on every other iteration and then "do nothing" on the next iteration... however, they ran on every iteration instead. I solved this by duplicating all of the samples (so I basically have two loops in one test plan) and inserted this group of samples in one of the "loops" but this seems kind of hokey.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cookie informations generated in the first thread group to be passed to the second thread group.
Hi sebb, When I record using Proxy Server, I can group a set of requests under a single controller. Means for every click on the browser it might have several http requests. Which I can put under a simple controller. Now at the test plan level I am able to put a set of requests under a controller. Which is readable. But when I run this test plan all the http requests group together. Is there any way that I can group the requests in the report also. For. Ex., I click login buttonthe requests executed. /login /image/m1.gif /image/m2.gif /image/m3.gif /image/m4.gif /image/m5.gif Now it launches the home page Between the click of login and launch of homepage. There are several http requestsand I want the sum of time taken for all of this. But my test plan has other HTTP requests also after the home page is launched... So how can I group these as one action or how can I take a sum of this alone I hope you are able to understand my HTTP request :) Please suggest Thanks Senthil -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 3:11 AM To: JMeter Users List Subject: Re: cookie informations generated in the first thread group to be passed to the second thread group. On Mon, 11 Oct 2004 16:27:27 -0700, Senthil Subbiah <[EMAIL PROTECTED]> wrote: > > > Hi sebb, > > Under the same test plan...can I have more than one threads? Yes, and you can even have multiple thread groups. > If yes, then I am not able to access cookie informations in the second > thread? No, cookie information is private to the thread. A thread simulates a user session, and user sessions normally need separate cookies. > Is there any way to group the requests to have a better display of > report. What do you mean? > Please suggest. > > Thanks > -Senthil > > > > > -Original Message- > From: Senthil Subbiah > Sent: Thursday, October 07, 2004 12:42 PM > To: [EMAIL PROTECTED] > Subject:cookie informations generated in the first thread group to > be passed to the second thread group. > > Hi All, > > I want two thread groups running under a test plan. > And I want the cookie informations generated in the first thread group > to be passed to the second thread group. > > Is it possible to have multiple thread groups under a test plan? And > can these thread groups be made to access the cookie information? And > can I access the value extracted from the response of one request of > first thread group to be available for the next? > > Please suggest. > > Thanks > -senthil - 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: cookie informations generated in the first thread group to be passed to the second thread group.
Sorry..with the word report...i mean to say...when I run this test plan...i can have a listener(like View Resutls Tree) to see the status of each request. There it executes each of request in a sequence and that .jtl file is not readable. -Original Message- From: Senthil Subbiah Sent: Tuesday, October 12, 2004 10:19 AM To: JMeter Users List; sebb Subject: RE: cookie informations generated in the first thread group to be passed to the second thread group. Hi sebb, When I record using Proxy Server, I can group a set of requests under a single controller. Means for every click on the browser it might have several http requests. Which I can put under a simple controller. Now at the test plan level I am able to put a set of requests under a controller. Which is readable. But when I run this test plan all the http requests group together. Is there any way that I can group the requests in the report also. For. Ex., I click login buttonthe requests executed. /login /image/m1.gif /image/m2.gif /image/m3.gif /image/m4.gif /image/m5.gif Now it launches the home page Between the click of login and launch of homepage. There are several http requestsand I want the sum of time taken for all of this. But my test plan has other HTTP requests also after the home page is launched... So how can I group these as one action or how can I take a sum of this alone I hope you are able to understand my HTTP request :) Please suggest Thanks Senthil -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 3:11 AM To: JMeter Users List Subject: Re: cookie informations generated in the first thread group to be passed to the second thread group. On Mon, 11 Oct 2004 16:27:27 -0700, Senthil Subbiah <[EMAIL PROTECTED]> wrote: > > > Hi sebb, > > Under the same test plan...can I have more than one threads? Yes, and you can even have multiple thread groups. > If yes, then I am not able to access cookie informations in the second > thread? No, cookie information is private to the thread. A thread simulates a user session, and user sessions normally need separate cookies. > Is there any way to group the requests to have a better display of > report. What do you mean? > Please suggest. > > Thanks > -Senthil > > > > > -Original Message- > From: Senthil Subbiah > Sent: Thursday, October 07, 2004 12:42 PM > To: [EMAIL PROTECTED] > Subject:cookie informations generated in the first thread group to > be passed to the second thread group. > > Hi All, > > I want two thread groups running under a test plan. > And I want the cookie informations generated in the first thread group > to be passed to the second thread group. > > Is it possible to have multiple thread groups under a test plan? And > can these thread groups be made to access the cookie information? And > can I access the value extracted from the response of one request of > first thread group to be available for the next? > > Please suggest. > > Thanks > -senthil - 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: cookie informations generated in the first thread group to be passed to the second thread group.
On Tue, 12 Oct 2004 10:18:54 -0700, Senthil Subbiah <[EMAIL PROTECTED]> wrote: > Hi sebb, > When I record using Proxy Server, I can group a set of requests under a > single controller. > Means for every click on the browser it might have several http > requests. > Which I can put under a simple controller. > > Now at the test plan level I am able to put a set of requests under a > controller. > Which is readable. But when I run this test plan all the http requests > group together. I don't understand what you mean by "group together" > Is there any way that I can group the requests in the report also. > For. Ex., > I click login buttonthe requests executed. > > /login > /image/m1.gif > /image/m2.gif > /image/m3.gif > /image/m4.gif > /image/m5.gif > > Now it launches the home page > > Between the click of login and launch of homepage. > There are several http requestsand I want the sum of time taken for > all of this. > But my test plan has other HTTP requests also after the home page is > launched... > So how can I group these as one action or how can I take a sum of this > alone Have a look at the Transaction Controller and the Aggregate Listener. The output timings include the sampler name, so it's important to choose names carefully. By suitable choice of naming convention, you can then group results using a spreadsheet or XSLT or whatever analysis tool you want to use. > I hope you are able to understand my HTTP request :) > > Please suggest > > Thanks > Senthil > > > > -Original Message- > From: sebb [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 12, 2004 3:11 AM > To: JMeter Users List > Subject: Re: cookie informations generated in the first thread group to > be passed to the second thread group. > > On Mon, 11 Oct 2004 16:27:27 -0700, Senthil Subbiah > <[EMAIL PROTECTED]> wrote: > > > > > > Hi sebb, > > > > Under the same test plan...can I have more than one threads? > > Yes, and you can even have multiple thread groups. > > > If yes, then I am not able to access cookie informations in the second > > > thread? > > No, cookie information is private to the thread. > A thread simulates a user session, and user sessions normally need > separate cookies. > > > Is there any way to group the requests to have a better display of > > report. > > What do you mean? > > > Please suggest. > > > > Thanks > > -Senthil > > > > > > > > > > -Original Message- > > From: Senthil Subbiah > > Sent: Thursday, October 07, 2004 12:42 PM > > To: [EMAIL PROTECTED] > > Subject:cookie informations generated in the first thread > group to > > be passed to the second thread group. > > > > Hi All, > > > > I want two thread groups running under a test plan. > > And I want the cookie informations generated in the first thread group > > > to be passed to the second thread group. > > > > Is it possible to have multiple thread groups under a test plan? And > > can these thread groups be made to access the cookie information? And > > can I access the value extracted from the response of one request of > > first thread group to be available for the next? > > > > Please suggest. > > > > Thanks > > -senthil > > - > 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: cookie informations generated in the first thread group to be passed to the second thread group.
On Tue, 12 Oct 2004 10:22:09 -0700, Senthil Subbiah <[EMAIL PROTECTED]> wrote: > Sorry..with the word report...i mean to say...when I run this test > plan...i can have a listener(like View Resutls Tree) to see the status > of each request. OK > There it executes each of request in a sequence and that .jtl file is > not readable. Not a clue what you mean here, sorry. > > > -Original Message- > From: Senthil Subbiah > Sent: Tuesday, October 12, 2004 10:19 AM > To: JMeter Users List; sebb > Subject: RE: cookie informations generated in the first thread group to > be passed to the second thread group. > > Hi sebb, > When I record using Proxy Server, I can group a set of requests under a > single controller. Means for every click on the browser it might have > several http requests. Which I can put under a simple controller. > > Now at the test plan level I am able to put a set of requests under a > controller. Which is readable. But when I run this test plan all the > http requests group together. Is there any way that I can group the > requests in the report also. > > For. Ex., > I click login buttonthe requests executed. > > /login > /image/m1.gif > /image/m2.gif > /image/m3.gif > /image/m4.gif > /image/m5.gif > > Now it launches the home page > > Between the click of login and launch of homepage. > There are several http requestsand I want the sum of time taken for > all of this. But my test plan has other HTTP requests also after the > home page is launched... So how can I group these as one action or how > can I take a sum of this alone > > I hope you are able to understand my HTTP request :) > > Please suggest > > Thanks > Senthil > > -Original Message- > From: sebb [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 12, 2004 3:11 AM > To: JMeter Users List > Subject: Re: cookie informations generated in the first thread group to > be passed to the second thread group. > > On Mon, 11 Oct 2004 16:27:27 -0700, Senthil Subbiah > <[EMAIL PROTECTED]> wrote: > > > > > > Hi sebb, > > > > Under the same test plan...can I have more than one threads? > > Yes, and you can even have multiple thread groups. > > > If yes, then I am not able to access cookie informations in the second > > > thread? > > No, cookie information is private to the thread. > A thread simulates a user session, and user sessions normally need > separate cookies. > > > Is there any way to group the requests to have a better display of > > report. > > What do you mean? > > > Please suggest. > > > > Thanks > > -Senthil > > > > > > > > > > -Original Message- > > From: Senthil Subbiah > > Sent: Thursday, October 07, 2004 12:42 PM > > To: [EMAIL PROTECTED] > > Subject:cookie informations generated in the first thread > group to > > be passed to the second thread group. > > > > Hi All, > > > > I want two thread groups running under a test plan. > > And I want the cookie informations generated in the first thread group > > > to be passed to the second thread group. > > > > Is it possible to have multiple thread groups under a test plan? And > > can these thread groups be made to access the cookie information? And > > can I access the value extracted from the response of one request of > > first thread group to be available for the next? > > > > Please suggest. > > > > Thanks > > -senthil > > - > 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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can number of regular expression matches be tested ?
Dear JMeter Users: Is there a way to test the number of matches extracted by a Regular Expression Extractor element? The following code works. Unfortunately, it ALWAYS works. I used a regular expression tester to make sure that the target string occurs 4 times in the HTTP response text. If I understand the manual, when the condition in the If Controller evaluates to false, the test plan should stop. So specifying the wrong number of matches in the condition should stop the test plan. But it does not. HTTP Request Regular Expression Extractor element Reference Name: Matches Regular Expression: string Template: $1$ Match No: 1 Default Value: NoMatches If Controller element Condition: Matches_matchNr == 4 Sincerely yours, Kyle
Re: Can number of regular expression matches be tested ?
On Tue, 12 Oct 2004 17:16:01 -0400, Kyle McAbee <[EMAIL PROTECTED]> wrote: > Dear JMeter Users: > > Is there a way to test the number of matches extracted by a Regular Expression > Extractor element? Yes, the xxx_matchNr variable > The following code works. Unfortunately, it ALWAYS works. I used a regular > expression tester to make sure that the target string occurs 4 times in the HTTP > response text. If I understand the manual, when the condition in the If Controller > evaluates to false, the test plan should stop. So specifying the wrong number of > matches in the condition should stop the test plan. But it does not. The If controller only controls whether or not its children are invoked. It does not stop a test, nor does it set the status of the sampler to failed. If you can work out the appropriate regex, you could use the Regex Assertion to mark the sample as failed, and cause the test to stop that way. > HTTP Request > Regular Expression Extractor element > Reference Name: Matches > Regular Expression: string > Template: $1$ > Match No: 1 > Default Value: NoMatches > > If Controller element > Condition: Matches_matchNr == 4 This means to invoke any child samples of the If controller > Sincerely yours, > > Kyle > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]