You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Greg Phillips <Gr...@hl.co.uk> on 2019/01/09 15:24:46 UTC

jms point-to-point and jdni properties

Hello,

I have some working tests that send a lot of JMS messages.
Our systems have recently been locked down so that I need to provide authorisation for these messages.
I have solved this by adding to the jndi properties on each of my JMS point-to-point samplers.
Is there a better way to do this?
The JMS Publisher has a checkbox "Use jndi.properties file", but this isn't available for the point-to-point sampler.

Regards,

Greg


=============================================================================

This email is intended solely for the recipient and is confidential and not for third party unauthorised distribution. If an addressing or transmission error has misdirected this email, please notify the author by replying to this email or notifying the system manager (online.security@hl.co.uk).  If you are not the intended recipient you must not disclose, distribute, copy, print or rely on this email. 

Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of Hargreaves Lansdown. In addition, staff are not authorised to enter into any contract through email and therefore nothing contained herein should be construed as such. Hargreaves Lansdown makes no warranty as to the accuracy or completeness of any information contained within this email. In particular, Hargreaves Lansdown does not accept responsibility for any changes made to this email after it was sent. 

Hargreaves Lansdown Asset Management Limited (Company Registration No 1896481), Hargreaves Lansdown Fund Managers Limited (No 2707155) and Hargreaves Lansdown Advisory Services Limited (No 3509545) are authorised and regulated by the Financial Conduct Authority and registered in England and Wales. The registered office for all companies is One College Square South, Anchor Road, Bristol, BS1 5HL. Telephone: 0117 988 9880

RE: jms point-to-point and jdni properties

Posted by Greg Phillips <Gr...@hl.co.uk>.
You seem to have completely misread my question. 
I'll let the sarcasm pass for now. 

" I have solved this by adding to the jndi properties on each of my JMS point-to-point samplers. 
Is there a better way to do this?"

I'm looking for a common way to do this, so that I don't have to add properties to every JMS point-to-point sampler. 
For example, can I pass in a jndi properties file, or set up some defaults similar to the way I can for HTTP request defaults. 

-----Original Message-----
From: glinius@live.com <gl...@live.com> 
Sent: 09 January 2019 17:16
To: jmeter-user@jakarta.apache.org
Subject: Re: jms point-to-point and jdni properties

Have you tried to scroll down a little bit further (or invest into a better
monitor)

<http://www.jmeter-archive.org/file/t340375/Screenshot_2019-01-09_at_18.png> 

You should be able to put properties like java.naming.security.principal and java.naming.security.credentials <https://docs.oracle.com/javase/jndi/tutorial/beyond/env/overview.html>
there. 

References:

1.  JMS Point-to-Point Sampler Documentation <http://jmeter.apache.org/usermanual/component_reference.html#JMS_Point-to-Point>
2.  Building a JMS Testing Plan - Apache JMeter <https://www.blazemeter.com/blog/building-jms-testing-plan-apache-jmeter>  





--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

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

=============================================================================

This email is intended solely for the recipient and is confidential and not for third party unauthorised distribution. If an addressing or transmission error has misdirected this email, please notify the author by replying to this email or notifying the system manager (online.security@hl.co.uk).  If you are not the intended recipient you must not disclose, distribute, copy, print or rely on this email. 

Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of Hargreaves Lansdown. In addition, staff are not authorised to enter into any contract through email and therefore nothing contained herein should be construed as such. Hargreaves Lansdown makes no warranty as to the accuracy or completeness of any information contained within this email. In particular, Hargreaves Lansdown does not accept responsibility for any changes made to this email after it was sent. 

Hargreaves Lansdown Asset Management Limited (Company Registration No 1896481), Hargreaves Lansdown Fund Managers Limited (No 2707155) and Hargreaves Lansdown Advisory Services Limited (No 3509545) are authorised and regulated by the Financial Conduct Authority and registered in England and Wales. The registered office for all companies is One College Square South, Anchor Road, Bristol, BS1 5HL. Telephone: 0117 988 9880

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


Re: jms point-to-point and jdni properties

Posted by Andrew Burton <an...@gmail.com>.
In fairness to Greg, the layouts for the JMS samplers are not consistent
with regard to JNDI - there's an option bug
https://bz.apache.org/bugzilla/show_bug.cgi?id=61830.

On Thu, Jan 10, 2019 at 4:23 AM glinius@live.com <gl...@live.com> wrote:

> Have you tried to scroll down a little bit further (or invest into a better
> monitor)
>
> <
> http://www.jmeter-archive.org/file/t340375/Screenshot_2019-01-09_at_18.png>
>
>
> You should be able to put properties like java.naming.security.principal
> and
> java.naming.security.credentials
> <https://docs.oracle.com/javase/jndi/tutorial/beyond/env/overview.html>
> there.
>
> References:
>
> 1.  JMS Point-to-Point Sampler Documentation
> <
> http://jmeter.apache.org/usermanual/component_reference.html#JMS_Point-to-Point>
>
> 2.  Building a JMS Testing Plan - Apache JMeter
> <https://www.blazemeter.com/blog/building-jms-testing-plan-apache-jmeter>
>
>
>
>
>
>
> --
> Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: jms point-to-point and jdni properties

Posted by "glinius@live.com" <gl...@live.com>.
Have you tried to scroll down a little bit further (or invest into a better
monitor)

<http://www.jmeter-archive.org/file/t340375/Screenshot_2019-01-09_at_18.png> 

You should be able to put properties like java.naming.security.principal and
java.naming.security.credentials
<https://docs.oracle.com/javase/jndi/tutorial/beyond/env/overview.html>  
there. 

References:

1.  JMS Point-to-Point Sampler Documentation
<http://jmeter.apache.org/usermanual/component_reference.html#JMS_Point-to-Point>  
2.  Building a JMS Testing Plan - Apache JMeter
<https://www.blazemeter.com/blog/building-jms-testing-plan-apache-jmeter>  





--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

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