ContributionsMost RecentMost LikesSolutionsIs setting the authprofile for a rest step supported by soapui ? Is setting the authprofile for a rest step supported by soapui ? def authProfileName = "Name of your profile" def project = testRunner.getTestCase().getTestSuite().getProject() def authProfile = project.getAuthRepository().getEntry(authProfileName) authProfile.setUsername("newUsername") authProfile.setPassword("newPassword") authProfile.setDomain("newDomain") //Set to true for pre-emptive authentication //Set to false for using global preference authProfile.setPreemptive(true) def step = testRunner.testCase.getTestStepByName("Name of your request").getHttpRequest() step.setSelectedAuthProfile(authProfileNa Re: Listener events not getting registed when running through mavenThis is run from devops and we do not control what the agents have installed as it is a controlled environmentRe: Listener events not getting registed when running through maven?Re: Listener events not getting registed when running through mavenYes it is , as the runner machines from Jenkins will not have soapui installedRe: Listener events not getting registed when running through mavenWas it try with different maven version ? That is not working for me . I am thinking that the maven plugin does not work with listenersRe: Listener events not getting registed when running through mavenThey don’t seem to be working when running them through the maven plugin 😞 Not sure on how this will get addrsssdTestRunListner.afterStep event scripts not getting called I have a loop and one step in the loop is creating a teststep and then calls the created test step 1) Begin Loop 2) Groovy script to create teststep1 and then run the created step def tCase = testRunner.testCase.testSuite.testCases["Data"] def tStep = tCase.testSteps[<created test step>] tStep.run(testRunner,context) 3) End loop The created step is called, however the scripts within the afterStep event handler code is not getting called. What needs to be done so that the event handler code is called ? Note * : In all other test step execution the event handler code is called and works fine. Re: Listener events not getting registed when running through maven The maven soapui plugin is a 2.x plugin, could there be a compatibilty issue causing it ? Re: Listener events not getting registed when running through maven I also used a sample listener class from this repo soapui/soapui/src/demo/soapui/demo/DemoListener.java at v5.7.0 · SmartBear/soapui (github.com) Doesnt seem to be working. Looks like we probably are having a bug with the maven soapui plugin Re: Listener events not getting registed when running through maven Does your code work with the maven plugin ? want to see if this is a plugin issue