You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Andre Arnold <An...@gmx.de> on 2009/07/23 17:21:37 UTC
JMS Point-to-Point - MQ doesnt allow JMSConstants as setStringProperty()
I wanted to use the JMS Point-to-Point Sampler for placing messages on a
queue on websphereMQ. Just to clear the basis, it worked perfectly.
As I tried to introduce the JMS_TYPE constant as a property i got the
error : "MQJMS1058".
Same with the JMS_PRIORITY.
I figuered out the problem is that one needs to use the specific method
( setJMPriority() ) instead of the plain setStringProperty(). This is
the same problem like with the correlation id.
I already made the two changes in simple patch just wanted to check if
this is a known bug before opening a new one.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Regular Expression Extractor in Html
Posted by "S.D." <si...@gmail.com>.
Thank you ..
That worked perfectly !
> \r only matches CR; you also need to match \n (LF)
>
> Try
>
> The current user is:[\r\n]+(.*)
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Regular Expression Extractor in Html
Posted by sebb <se...@gmail.com>.
On 23/07/2009, S.D. <si...@gmail.com> wrote:
> Hi.
>
> I'm having some trouble with the regular expression extractor. I can't
> seem to get the right Jmeter regex to work, though other regex's do. I
> feel like the line breaks in the response might be messing me up ..
See:
http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html
> I'm trying to extract the user name from the response with an assertion.
> I have this expression in my extractor. It is set to look at the
> response text and the boolean is 'Contains'. My template is set to $1
> $:
>
> The current user is:\r+(.*)
\r only matches CR; you also need to match \n (LF)
Try
The current user is:[\r\n]+(.*)
You can test using
http://jakarta.apache.org/oro/demo.html
> <font color="red">The current user is:
> LASTNAME, FIRSTNAME INITIAL
>
> </font>
>
> Shouldn't this work ? I never seem to find anything.
>
> Thanks !
> --sidd
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Regular Expression Extractor in Html
Posted by "S.D." <si...@gmail.com>.
Hi.
I'm having some trouble with the regular expression extractor. I can't
seem to get the right Jmeter regex to work, though other regex's do. I
feel like the line breaks in the response might be messing me up ..
I'm trying to extract the user name from the response with an assertion.
I have this expression in my extractor. It is set to look at the
response text and the boolean is 'Contains'. My template is set to $1
$:
The current user is:\r+(.*)
<font color="red">The current user is:
LASTNAME, FIRSTNAME INITIAL
</font>
Shouldn't this work ? I never seem to find anything.
Thanks !
--sidd
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: JMS Point-to-Point - MQ doesnt allow JMSConstants as setStringProperty()
Posted by Andre Arnold <An...@gmx.de>.
Andre Arnold schrieb:
> I wanted to use the JMS Point-to-Point Sampler for placing messages on a
> queue on websphereMQ. Just to clear the basis, it worked perfectly.
>
> As I tried to introduce the JMS_TYPE constant as a property i got the
> error : "MQJMS1058".
> Same with the JMS_PRIORITY.
>
> I figuered out the problem is that one needs to use the specific method
> ( setJMPriority() ) instead of the plain setStringProperty(). This is
> the same problem like with the correlation id.
>
> I already made the two changes in simple patch just wanted to check if
> this is a known bug before opening a new one.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
As I mentioned before there is some false behavior when using jmeter jms
PointToPoint sampler with mq.
Since the only answers i got where not on the subject i repost the
previous question.
Sorry if am annoying :)
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org