Forum Discussion

rvandenbosch's avatar
rvandenbosch
Occasional Contributor
4 years ago

Dynamic AMQP Read Connection to RabbitMQ

I would like be able to establish a connection to an AMQP Read Test Step based upon the Environment I have selected (DEV, QA,..).

I tried creating custom properties for each env and assigning values to them. I see the Properties at the project level but they are empty

Then I created a Connection in the AMQP Read Test Step:

 

Connection Name: ${#Project#RMQ Connection Name}

Host: ${#Project#RMQ Host}

Virtual Host: ${#Project#RMQ Virtual Host}

 

I don't understand how those values I assigned in the Environment get passed into the Project Properties so that they can be picked up by the AMQP Read test step Connection. Am I missing something?

 

Any suggestions?

  • Problem solve. I will answer my own post. Once I shut down ReadyAPI and came back in all the properties transferred automatically from my environment.

  • rvandenbosch's avatar
    rvandenbosch
    Occasional Contributor

    Problem solve. I will answer my own post. Once I shut down ReadyAPI and came back in all the properties transferred automatically from my environment.