ContributionsMost RecentMost LikesSolutionsset endpoint when run from commandline does not work for mei have 2 wsdl's which i call in my test suite. when i run from gui, i set endpoint for all requests on each wsdl manually. when i run from commandLine i start up testrunner.bat with -e switch to specify endpoint for wsdl1 the place where i call service from wsdl2 i have a groovy script that sets the endpoint for step like this: " testRunner.testCase.testSteps["testcasename"].getTestRequest().setEndpoint(ENDPOINT) " but the teststep fails because it uses the global endpoint set when i start testrunner.bat, so appearrently the endpoint is not overwritten by my groovy script ?? any idea why ??junit report from SoapUIProTestCaseRunnerhi i run a test suite from junit, i want to generate a junit style report from the run, and i am really guessin here as i cant find it documented. i have following testcase : SoapUIProTestCaseRunner runner = new SoapUIProTestCaseRunner(); WsdlProject project = new WsdlProject("F:\\Test\\Soapui\\soapui-project.xml" ); JUnitReportCollector reportCollector = new JUnitReportCollector(); System.setProperty("script.library", "F:\\Test\\Soapui\\scripts"); runner.setProjectFile( "F:\\Test\\Soapui\\soapui-project.xml" ); runner.setEndpoint("http://andenserver:8085/danid/services/IdentityServiceV1R13"); runner.setSettingsFile("C:\\Users\\mwl\\soapui-settings.xml"); runner.setTestSuite("theSuite"); runner.run(); runner.exportJUnitReports(reportCollector, "C:\\Users\\mwl\\tmp", project); i have tried putting exportJUnitReports before and after run method. i both cases i get an empty junit reportRe: script library from juniti have attached output from starting up soapui from commandlineRe: script library from junitcan i reply to such an old post?? i never got it to work and now i need it to work when i set the field script library to ${#System#script.library} SOAPUI crashes when i restart the application. i dont get to see the command windows, nothing in logs. when i go to soapui-settings.xml and delete script library field, i can start soapui againclone multiple testcasesi would like to be able to copy a subset of testcases to another testsuite. afaik it can now only be done 1 at a time. user, LZhang, made a request for this in 2008, but i guess it was never implemented original post = "Select multiple test cases in a test suite"TestRunner vs. SoapUITestCaseRunneri execute SOAPUI testCases from JUnit. there are more than 1 way to do this using the SOAPUI API. What i lack is description of the API. e.g. TestRunner & SoapUITestCaseRunner, when to use what ? the SoapUITestCaseRunner have methods initProject, exportJUnitReports. is it nessecary to call initProject() ? or is it sufficient to set setProjectFile(). exportJUnitReports shuold it be called after ot before run? there is no information to help in the API documentation. when i move around in the API, i there is a lot of guessing and trial and error involved. am i missing some documentation ? is there a better API description somewhere i have missed? sample code suing the API ??add a where clause to assertioni have below response, where i would like to make following assertion. i would like to check that in the purchasestatus element where stockStatus = 1210 expectedDelivery should be = 08082010. is it clear what i mean ? i guess it would look something this in a world i know :-) (SELECT expectedDelivery from buyResponse where stockStatus = 1210) == 08082010 how should a assert like this be done ? suing script assert or can it be done in a regular expression? 123 1210 08082010 123 1610 07082010 Re: send empty optional element is requesti found out you can make a empty dummyValue in a properties step, and then in the form editor specify ${properties#dummyValue}. then it will send a empty element in requestRe: send empty optional element is requestif i have a request i would like to send like this ${returned values#IdentityHandle} ${setupTestCase#EMAIL} i fill it out in the form editor, but when sending the request, SOAPUI is deleting the part of the request send empty optional element is requeste.g. i have a service that updates phone number for customers. the phone element is optional i would like to send a empty phone element in request, as this is the way we implemented functionallity to reset customer phone number. how is this best done in SOAPUI ? do i have to make a event handler and replace some dummy data with empty ?? or is there a easier way ? if event handler is the way to go, do you have an examble ?