cancel
Showing results for 
Search instead for 
Did you mean: 

Have to trigger a Groovy script When a Test Step is Run

Highlighted
Contributor

Have to trigger a Groovy script When a Test Step is Run

Hi Team

 

Please help me in below scenario,

 

I need to run a test step, when I changed the property name. It has to change host name as per the property configuration. When I tried with TestRunListener.beforeStep It isn't working.

 

Regards,

Karthik

1 REPLY 1
Highlighted
Community Hero

It is not possible / standard way to run an arbitrary test step using Events.

More or less, it is quite common to change the property value. When do you change property name? Does it not lost the significance if property name itself is changed? The property name references cause issue during run time. Isn't it?

Please clarify the use case.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors