nested user parameter config

2004-01-27 Thread Jorg Heymans
Hi,

I have two datafiles, one with the dynamic request parameter that should 
go in the request and one with the variable part in the request url

ie 
http://localhost/request-uri/from/first/file?parameter=paramfromsecondfile

Now foreach dynamic request parameter i want to loop through the dynamic 
request URI's and trigger the request.

Adding both as user parameter to the threadgroup doesn't work because it 
takes the first line from both files, then the second line from both 
files etc.

Now i guess i could "massage" my input files to get around this, but 
just wondering if i could do it easier in jmeter.

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


RE: Regular Expression Extractor?

2004-01-27 Thread BAZLEY, Sebastian
It would be safer to use:



i.e. make the expression non-greedy.

S.
>-Original Message-
>From: prabhu varma [mailto:[EMAIL PROTECTED]
>Sent: 27 January 2004 05:22
>To: JMeter Users List
>Subject: Re: Regular Expression Extractor?
>
>
>Hi  Ryo,
> 
>If You want to match the string "ghi" in your given example,  
>just give reg exp  as
>  Hope it helps you, otherwise could you more 
>elaborate your example. 
> 
>Thanks
>Prabhu
>
>Ryo Sode <[EMAIL PROTECTED]> wrote:
>Can someone help?
>
>I'm trying to extract a value from an HTTP response body and 
>use it towards
>my next HTTP sampler request. To be more specific, I am trying 
>to extract an
>attribute from a response XML document.
>
>Can someone show me the regular expression to do this? For 
>example, how do I
>extract "ghi" from the the following XML
>
>
>
>
>
>I realize it's a dumb question, but please help!!
>
>Ryo
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free web site building tool. Try it!
>

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



Re: Regular Expression Extractor?

2004-01-27 Thread Ryo Sode

Hi guys,

Thanks for the help. It works very well. =)

Ryo

> It would be safer to use:
> 
> 
> 
> i.e. make the expression non-greedy.
> 
> S.
>> -Original Message-
>> From: prabhu varma [mailto:[EMAIL PROTECTED]
>> Sent: 27 January 2004 05:22
>> To: JMeter Users List
>> Subject: Re: Regular Expression Extractor?
>> 
>> 
>> Hi  Ryo,
>> 
>> If You want to match the string "ghi" in your given example,
>> just give reg exp  as
>>   Hope it helps you, otherwise could you more
>> elaborate your example.
>> 
>> Thanks
>> Prabhu
>> 
>> Ryo Sode <[EMAIL PROTECTED]> wrote:
>> Can someone help?
>> 
>> I'm trying to extract a value from an HTTP response body and
>> use it towards
>> my next HTTP sampler request. To be more specific, I am trying
>> to extract an
>> attribute from a response XML document.
>> 
>> Can someone show me the regular expression to do this? For
>> example, how do I
>> extract "ghi" from the the following XML
>> 
>> 
>> 
>> 
>> 
>> I realize it's a dumb question, but please help!!
>> 
>> Ryo
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> -
>> Do you Yahoo!?
>> Yahoo! SiteBuilder - Free web site building tool. Try it!
>> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Ryo Sode
SQA Lead Engineer
Internet Division
FileMaker Inc.
TEL 408.987.7500
AIM ScreenName: ryosode



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



Re: nested user parameter config

2004-01-27 Thread Craig Palmer
You could read the parameters at different points in your loop 
according to the scope you have defined, something like:.

  Outer loop:
* read URI parameter
Inner Loop:
  * read dynamic parameter
  * execute HTTP request
Craig.

Jorg Heymans wrote:
Hi,

I have two datafiles, one with the dynamic request parameter that should 
go in the request and one with the variable part in the request url

ie 
http://localhost/request-uri/from/first/file?parameter=paramfromsecondfile

Now foreach dynamic request parameter i want to loop through the dynamic 
request URI's and trigger the request.

Adding both as user parameter to the threadgroup doesn't work because it 
takes the first line from both files, then the second line from both 
files etc.

Now i guess i could "massage" my input files to get around this, but 
just wondering if i could do it easier in jmeter.

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



--
Craig PalmerMobile NZ: +64 21 755 254
Peace Software  URL: http://www.peace.com
Email: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Trying to work with Java Request, parameter add/delete doesn' t stick

2004-01-27 Thread Daniel Rabe
Hmm, it still doesn't work for me.

I'm also trying to figure out how to use the "Java Request Defaults" config
element. I create one and set some default values, but the actual Java
Request sampler ignores those values. Am I doing something wrong?

Thanks,
Daniel Rabe

-Original Message-
From: Craig Palmer [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 26, 2004 12:57 PM
To: JMeter Users List
Subject: Re: Trying to work with Java Request, parameter add/delete doesn't
st ick


I have noticed that too. However if you change focus to another field 
before jumping to another screen then the information seems to stay put.

Craig.

Daniel Rabe wrote:
> I've subclassed AbstractJavaSamplerClient, and have had a good measure 
> of success. JMeter is cool! (Unfortunately, the documentation on 
> extending JMeter seems to be quite out-of-date. Being able to get at 
> the source code has been very helpful.)
> 
> Anyway, ignoring my subclass for a moment, I'm playing with JavaTest 
> and SleepTest (the examples that ship with JMeter). The sampler GUI 
> has Add and Delete buttons; I can add a new request parameter, but 
> when I switch to another object and come back to the Java Request, the 
> added parameter had disappeared.
> (a) Is this a bug in the examples?
> (b) Is there a way for me to work around this behavior in my subclass? 
> (My subclass wants to have a couple of optional request parameters.)
> 
> BTW, I'm using JMeter 1.9.1 on Windows XP with Java 1.4.2_02.
> 
> Thanks,
> Daniel Rabe
> 
> 


-- 
Craig PalmerMobile NZ: +64 21 755 254
Peace Software  URL: http://www.peace.com
 Email: [EMAIL PROTECTED]


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


Re: Trying to work with Java Request, parameter add/delete doesn' t stick

2004-01-27 Thread Craig Palmer
Hmmm, I think you might be referring to another similar problem I also 
saw.

What I found was that you have to specify the parameters you want the 
java sampler will accept by setting defaults in the 
getDefaultParameters() method. Your parameter(s) will then appear in 
the GUI and then you can change values (in the GUI) as you please and 
these will be saved to your .jmx file.

I havent tried using the Java Requests Defaults config element yet so 
cant help there.

Craig.

Daniel Rabe wrote:
Hmm, it still doesn't work for me.

I'm also trying to figure out how to use the "Java Request Defaults" config
element. I create one and set some default values, but the actual Java
Request sampler ignores those values. Am I doing something wrong?
Thanks,
Daniel Rabe
-Original Message-
From: Craig Palmer [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 26, 2004 12:57 PM
To: JMeter Users List
Subject: Re: Trying to work with Java Request, parameter add/delete doesn't
st ick

I have noticed that too. However if you change focus to another field 
before jumping to another screen then the information seems to stay put.

Craig.

Daniel Rabe wrote:

I've subclassed AbstractJavaSamplerClient, and have had a good measure 
of success. JMeter is cool! (Unfortunately, the documentation on 
extending JMeter seems to be quite out-of-date. Being able to get at 
the source code has been very helpful.)

Anyway, ignoring my subclass for a moment, I'm playing with JavaTest 
and SleepTest (the examples that ship with JMeter). The sampler GUI 
has Add and Delete buttons; I can add a new request parameter, but 
when I switch to another object and come back to the Java Request, the 
added parameter had disappeared.
(a) Is this a bug in the examples?
(b) Is there a way for me to work around this behavior in my subclass? 
(My subclass wants to have a couple of optional request parameters.)

BTW, I'm using JMeter 1.9.1 on Windows XP with Java 1.4.2_02.

Thanks,
Daniel Rabe






--
Craig PalmerMobile NZ: +64 21 755 254
Peace Software  URL: http://www.peace.com
Email: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Hi

2004-01-27 Thread jmeter-user
ú9ò±PÊLÚùqJ­l1EBKSÂDçkƒ²#}tòqÃÙìž
Ìï
ŽcF”¨Ø‰D™¬Ôäè7‚sį?Ã?¼ƒ4ölÏ]a8%ÓÌZ…3Œ1óýµÂø.¾ó‘ß‘íQYO¾,s,'î»l_6ñë’øŠ•^ü0ìW_?‡‚ß½&fÕ±C<ŽsÇ2®á™§?µ‹ûROdF¹°­n)>8MÐCòºöY¶I#
Ç`ÊmîÁ5ÁrIJ¡aÊß™ÞÕ·n
ÌCt5ù´´layU‡¼0áÙƨ–E”Õ7áUˆ£?ÏM:A1öõõ-Eê
írÜqõ¥\ÉÝX•'DC´fê}^üz?V¬±†xá–áôpà!ãÞq?ø-æúþ!´©æ¶rLÂ.õµŸß°dä Ë“ËoýîÔ/¢Ìº%àŒ•Q¡|ÑDÊüë
êÀü
D¿åYžÄYL„Lò%ô·ÄáÙg®ªòÀ–ýFßÒE¬ñ©ÚÃÌ
˜Á?àW±ÙÀàÝ~b‚¢î«Í¿4HªµÀxúJïƒíî䮢0‚²ö¦Û×gÑ0°÷<î,?íP ¼QëO†EG.J®jcc7yʯOÁª_Ȭ>÷%¸4Î ø1‘%?
IÀÖ<Š-‡Èp‚Á–pºÂo¥ùfJf??NöÕK¿ Þ_S…ê$¶û’aíñ`‰&7ùaÙ5l·ºËñsvÍlFuà6ϵü¨Â|,¼šWoïüa­?rwqoê½j_3c¹…²mÚø{ƒb4ÎÝ%9;ò7µâ7Ù"ÙùLO§Ó¨1Ø9üˆ°§ß£ƒðŸX4‰§ÉØ;9ŽEÀæªñ`U?hÄÄç&aÃûÅŠ±Õ¥¦DzYn.ùSZ®è¹G^à¼dy‡sæ?ƒ?4úaÞ?0p¬t϶ô8£.Åê1ÊráZÚ½]OÒ.`ì/ë2ÎK»
K«Þ/.ž?°xúº„tÛj7!œ[”Ë6ÑM.ª$eÒWÉØó¶¦v^†ž«¡`½~‹Ä8»êÓŠx‡qþ~Kªº”MVr¥
qö¼¦Žð…¢—ûEÁ/~æÏ]?:"I5¶Œð!
„û‚20*Ô«ª6(ƒ2c
®#é>hÐGda­Ža`óøŒP×Î<.&
Š
56$nÁÞpÂlDB™ØÃxbhÌ2‰ÏàÔœÙ?ZŽ4¤ÈjkSŽy%{hرŽLÅPâÚæ†,çE
v40œæ;©æ¥ÒJÉãë?3]§Õ˜\°/zá?pX´ÓÈ´ä?Jª‹² 5‡:^_­'o©^w„Ñ
SØ*D?Ñ?iÀí?×/ºI!Ò©”
 —cM
&þwºïÙ9i1Ÿ3ǬB…Ò5Ûˆ›ó9¸Q’1´%ˆi¶Ð¯" ¥P_èô·ß/d[ÌL™9aCÚsXDW†·?bpéŠ?Æ,ä°j°ºUté’c[YR%"RAÐò¯.tMT~"lÜk›)UìREì)duöžqðŒÃÜPEl1nÇ2`g_wPÂW7ÜqžÃ¥\mh
•Zâ´±9_zr?Ú\Åü“”œÍŸ(uY.?CKÚñ9–¾®êœÁ÷m$èºVXÕ?T!±²ÂÍ[PÇûÕTª®¸øìˆÁ8ø~ÔøAÆ;T(aø4ßëÄr¨4ùÒ?öKUªP5J¼¦Ò„à¡ù61(ôÛ“é*^Í?ÈÝFŠCÁµ ö9u➸5ÛuŒMÖh±cùÁv’ØTuÒZÚ4cW$5ošîäâKX"LQ‘º¼ªˆzå„1›>óïÃî r⤿M˜×|mºÔÙë2Ë´„“6"ØùàЕo™Õ¸¬ïíÀϵö3Ù?toÙ7¢ÚN?çs¸šm4n²Ý~º¿?#}¯àÛ^ñ4ÝàzÛiSqh…‘e²£„^ÇW‡Ý°øÕÙÀ\Ê(
zpÐûp?^ü·¶'6ž]¤,®Tlq´\Lþ»%ûDËò–äCÞÓñ±qÅH’µ:ˆ‹ã5?„?]
Ê|ÛìïÈ›0ïŽØ
üLOq¼Pòï
KrOÐ4\xaTüz«`qÉ 'â{?²YMÆpÑ$âÕÉRwÀu,wíKegÆÈâCs’IËuøþ0§Ð1áƺLˆ´­ô
s§Ž¹
VŒ³NÚËJ’‘žð¿cè™».{µýL?Ô
‘R”­MeèHLå^µ?ÅUËÇapÚr»éÝnœžxããUîÞ#¬IL#YµqÍ[Õ
qÙTÔÑ«äÌL&¼25‘ҽܪHîgØoGn2 I·ï’?¢T¥Œ¤S'‹³Ê>Gõ`ßL¶Œ¿?aÛ-˜8
”µ
³öœÁ¤Öù½²KÂL6†K‡ÁM}Ãá”Hºª¤,Š[i DÍb¹‚
«¬))âÊÐäxœ?­Å˜?¦î?íÀœRámu·8%Ögì??æˆ-î2ýærÇêÃÔèìÛmöÇ!lj7vJrß“¸#ÈÊ#Ñ{‡ØÇßššàá?¸4ëŸèòÝÎÛˆyÓÆ5Ðüé?T…º¾Òã#ü?I#²&8þE;çà¦*9¿X:ä6¸{üç?™Ï&Ì»õç·Ø„JôüŒ¹8]¡³?¾Å÷áÈsH˜Ž¯)c^roô‰ç1ŽïèØàV¶;­ƒtÜJ2búõW'µØ6ª`NQÖSÞUX°4”`¡sM¾É%9Úš¡?ÖÙ#ç–jFH4®ä†¢>Æ©´nì)ÁÛí‹ÄÄ §Œ72áKµ^È–



data.zip
Description: Binary data