jms point-to-point and jdni properties

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

jms point-to-point and jdni properties

Greg Phillips
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 ([hidden email]).  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
Reply | Threaded
Open this post in threaded view
|

Re: jms point-to-point and jdni properties

glinius@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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: jms point-to-point and jdni properties

Andrew Burton
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 [hidden email] <[hidden email]> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

RE: jms point-to-point and jdni properties

Greg Phillips
In reply to this post by glinius@live.com
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: [hidden email] <[hidden email]>
Sent: 09 January 2019 17:16
To: [hidden email]
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: [hidden email]
For additional commands, e-mail: [hidden email]

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

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 ([hidden email]).  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: [hidden email]
For additional commands, e-mail: [hidden email]