RE: Hi any one pls help me
HI Frank, Thanks for the tool it helped me solving the problem. I owe u beer mate. Cheers, Raj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 16 July 2004 12:36 AM To: JMeter Users List Subject: Re: Hi any one pls help me Hi, maybe you want to try this in a Regular Expression Extractor: sid=(\S+) supposed the String is only one line. I use a little Win Prog for testing RegExpression maybe it wil help you too. http://weitz.de/regex-coach/ Kind Regards Frank |-+> | | Michael Stover | | | <[EMAIL PROTECTED]| | | org> | | || | | 15.07.2004 14:25 | | | Bitte antworten | | | an "JMeter Users | | | List"| | || |-+> >--- ---| | | | An: JMeter Users List <[EMAIL PROTECTED]> | | Kopie: | | Thema:Re: Hi any one pls help me | >--- ---| The problem is your regular expression. .* will grab the whole page. you'd be better off with something like sid="?([[^ ]*) But, I can only guess since I don't really know the nature of your sid values. -Mike On Wed, 2004-07-14 at 22:28, Krishna, Raj wrote: > Hi there, > > > > I am not able to capture and httprequest attribute value > > > > sid=1401bc9b1cca027f83343a68204d8c9cce9f1f93c3d0a0acf90e8e2a1fef4adc2760 > 2f2e64092a65e8bda1c329e3c8f4ddd4ebb994c0cca5686a5c555a73bff1ba6ad6f4a4c1 > b3d3fd936fbd5a7c200b > > > > I have used the Regular Expression Extractor but in vain. > > > > This is what I have used. > > > > Regular expression :sid=(.*) > > > > And I tired this > > > > Regular expression :sid=(*) > > > > I am not able to capture this long length of number and letters. Pls if > any one how to pls let me know. > > > > Cheers > > Raj > > > > > > > -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation - 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: Hi any one pls help me
Hi, maybe you want to try this in a Regular Expression Extractor: sid=(\S+) supposed the String is only one line. I use a little Win Prog for testing RegExpression maybe it wil help you too. http://weitz.de/regex-coach/ Kind Regards Frank |-+> | | Michael Stover | | | <[EMAIL PROTECTED]| | | org> | | || | | 15.07.2004 14:25 | | | Bitte antworten | | | an "JMeter Users | | | List"| | || |-+> >--| | | | An: JMeter Users List <[EMAIL PROTECTED]> | | Kopie: | | Thema:Re: Hi any one pls help me | >--| The problem is your regular expression. .* will grab the whole page. you'd be better off with something like sid="?([[^ ]*) But, I can only guess since I don't really know the nature of your sid values. -Mike On Wed, 2004-07-14 at 22:28, Krishna, Raj wrote: > Hi there, > > > > I am not able to capture and httprequest attribute value > > > > sid=1401bc9b1cca027f83343a68204d8c9cce9f1f93c3d0a0acf90e8e2a1fef4adc2760 > 2f2e64092a65e8bda1c329e3c8f4ddd4ebb994c0cca5686a5c555a73bff1ba6ad6f4a4c1 > b3d3fd936fbd5a7c200b > > > > I have used the Regular Expression Extractor but in vain. > > > > This is what I have used. > > > > Regular expression :sid=(.*) > > > > And I tired this > > > > Regular expression :sid=(*) > > > > I am not able to capture this long length of number and letters. Pls if > any one how to pls let me know. > > > > Cheers > > Raj > > > > > > > -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation - 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: Hi any one pls help me
The problem is your regular expression. .* will grab the whole page. you'd be better off with something like sid="?([[^ ]*) But, I can only guess since I don't really know the nature of your sid values. -Mike On Wed, 2004-07-14 at 22:28, Krishna, Raj wrote: > Hi there, > > > > I am not able to capture and httprequest attribute value > > > > sid=1401bc9b1cca027f83343a68204d8c9cce9f1f93c3d0a0acf90e8e2a1fef4adc2760 > 2f2e64092a65e8bda1c329e3c8f4ddd4ebb994c0cca5686a5c555a73bff1ba6ad6f4a4c1 > b3d3fd936fbd5a7c200b > > > > I have used the Regular Expression Extractor but in vain. > > > > This is what I have used. > > > > Regular expression :sid=(.*) > > > > And I tired this > > > > Regular expression :sid=(*) > > > > I am not able to capture this long length of number and letters. Pls if > any one how to pls let me know. > > > > Cheers > > Raj > > > > > > > -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hi any one pls help me
looks like your query string may be longer than 256 characters. It could be that it is violating HTTP specification and is getting mangled by URLConnection. have you tried it with the alpha sampler that uses HTTPClient? peter On Thu, 15 Jul 2004 12:28:10 +1000, Krishna, Raj <[EMAIL PROTECTED]> wrote: > Hi there, > > I am not able to capture and httprequest attribute value > > sid=1401bc9b1cca027f83343a68204d8c9cce9f1f93c3d0a0acf90e8e2a1fef4adc2760 > 2f2e64092a65e8bda1c329e3c8f4ddd4ebb994c0cca5686a5c555a73bff1ba6ad6f4a4c1 > b3d3fd936fbd5a7c200b > > I have used the Regular Expression Extractor but in vain. > > This is what I have used. > > Regular expression :sid=(.*) > > And I tired this > > Regular expression :sid=(*) > > I am not able to capture this long length of number and letters. Pls if > any one how to pls let me know. > > Cheers > > Raj > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]