Contributions
set endpoint when run from commandline does not work for me
i 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 ??14 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes1Commentjunit report from SoapUIProTestCaseRunner
hi 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 report14 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.5KViews0likes3Comments- 15 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes0Comments
Re: script library from junit
can 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 again15 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes0Commentsclone multiple testcases
i 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"15 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes0CommentsTestRunner vs. SoapUITestCaseRunner
i 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 ??15 years agoPlace ReadyAPI QuestionsReadyAPI Questions7.2KViews0likes6Commentsadd a where clause to assertion
i 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 0708201015 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes1CommentRe: send empty optional element is request
if 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 request15 years agoPlace ReadyAPI QuestionsReadyAPI Questions944Views0likes0Commentssend empty optional element is request
e.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 ?15 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews0likes4Comments