Rohit
Rohit

Reputation: 1

How to add Ruby script code in BSF postprocessor to skip user registration?

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

Answers (1)

UBIK LOAD PACK
UBIK LOAD PACK

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

Related Questions