Groovy code to change a authorization profile in a rest service
Soapui 5.4.0 I am trying to change the authorization profile in a rest service test step with a groovy script, as i want to use the same test step in several environments. I can retrieve the current profile with testRunner.testCase.getTestStepByName("name").testRequest.getSelectedAuthprofile(). I I want to set it with setSelectedAuthProfile("Test") - profile "Test" exists - I get an error. How can I set this?Solved2KViews0likes1Comment