jakarta-jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kumar Krishnan \(K\)" <Krish...@telkom.co.za>
Subject RE: Problem with __regexfunction
Date Wed, 18 May 2005 07:35:37 GMT
Hi Sebb -

The Beanshell assertion contains the following code:
${__regexFunction(zipFile&gt;(\S+)&lt;/zipFile,$1$,1,,NOMATCH,encodedZ
ipFile)}

The response is a soap message:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body><zipFile>UEsDBBQAAAAIAApZsTIIjYiX8wAAAMoCAAAsAAAAYjUyZDI5OG
QtMzI2MC00Y2U2LWIzYmEtNGJjY2E0YWU2MzA3LnppcC5jc3bdkMFqwzAMhu+FvsMewINk
x91CAiOQluCkD+DEWiZwrCDLjL793Gzd0m233YZ1+H9Z/oz+HoJoCNFJf16grlQFYWRcBM
mrp1O9sftdrjqaIT1Zh2/MfndLCuriu/EFbHSgo29oSnQNUyIdzQyq6pri8KUOZMGpui2s
ZQhBtcRyjPMArDpHV1kZgdIsEhmsqpBhFOLzx2WJPEa8jrZMz+hANeihEyMxqMIZnkvyFt
f1iv5UFiIGvRkcDCic6Gt3qwNO3jghTxjeO0YEfDSfjIVe039J6V9peqt/0PQ3ml5pl6z/
HFae3ad6yPLsLntM538H9gZQSwECFAAUAAAACAAKWbEyCI2Il/MAAADKAgAALAAAAAAAAA
AAACAIAAAAAAAAYjUyZDI5OGQtMzI2MC00Y2U2LWIzYmEtNGJjY2E0YWU2MzA3LnppcC5j
c3ZQSwUGAAAAAAEAAQBaAAAAPQEAAAAA</zipFile></soap:Body></soap:Envelope>


jMeter Version 	: 	2.0.2
Java Version 	:	1.4.2_07
OS			:	Windows XP

Any help would be appreciated.

Kind Regards
Kumar



 

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: 17 May 2005 07:16 PM
To: JMeter Developers List
Subject: Re: Problem with __regexfunction

Not seen this before.

Can you provide more information:
Version of JMeter, JVM and OS
Exact regex used in assertion
Any relevant error messages in jmeter.log

S.
On 5/17/05, Kumar Krishnan (K) <KrishnK1@telkom.co.za> wrote:
> Hi There -
> 
> I'm using the regex function within an assertion to obtain and store

> the value for a variable. This it does correctly. However, the 
> assertion that it's contained in throws the following parsing error:
> 
>                Parse error at line 3, column 390.  Encountered:
> PQ3ml5pl6z
> 
> The http response contains the following:
> 
>
UEsDBBQAAAAIAFJXsTIIjYiX8wAAAMoCAAAsAAAAYjBkZjI5ZTYtNWE0Yi00ZmQ2LWFmNT
>
ctODZmYzE4YWZiOTk0LnppcC5jc3bdkMFqwzAMhu+FvsMewINkx91CAiOQluCkD+DEWiZw
>
rCDLjL793Gzd0m233YZ1+H9Z/oz+HoJoCNFJf16grlQFYWRcBMmrp1O9sftdrjqaIT1Zh2
>
/MfndLCuriu/EFbHSgo29oSnQNUyIdzQyq6pri8KUOZMGpui2sZQhBtcRyjPMArDpHV1kZ
>
gdIsEhmsqpBhFOLzx2WJPEa8jrZMz+hANeihEyMxqMIZnkvyFtf1iv5UFiIGvRkcDCic6G
>
t3qwNO3jghTxjeO0YEfDSfjIVe039J6V9peqt/0PQ3ml5pl6z/HFae3ad6yPLsLntM538H
>
9gZQSwECFAAUAAAACABSV7EyCI2Il/MAAADKAgAALAAAAAAAAAAAACAIAAAAAAAAYjBkZj
>
I5ZTYtNWE0Yi00ZmQ2LWFmNTctODZmYzE4YWZiOTk0LnppcC5jc3ZQSwUGAAAAAAEAAQBa
> AAAAPQEAAAAA
> 
> Has anyone seen something like this before?
> 
> Kind Regards
> Kumar
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


Mime
View raw message