Reputation: 1
While Using Jmeter for Performane testing of a Ruby Application with 100 user, we ran it for user regsitration.To login, tt requires user confirmation via email but while testing on local environment we have a method 'Skip_confirmation' (run in console) in application to skip the user confirmation via url which contains the token. How i can add the ruby method in Jmeter to skip user confirmation after registration.
Upvotes: -1
Views: 158
Reputation: 34516
If by console you mean a shell or command , you can use OS PROCESS SAMPLER
if not, then have a look at code of Skip_confirmation to see what it does and add more info in your question.
A 3rd option is to use JSR223 Post Processor with JRuby as explained here:
Upvotes: 0