C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests>start \"\" \"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\" -sGetRenBatchesTestSuite -cGetRenbatches -r -a -f\"C:\\Program Files\\SmartBear\\SoapUI-5.2.1\\bin\\TestResults\" -I C:\\Users\\xyzuser\\GitHub\\ren-api2\\Tests\\Automated_Test\\GetRenBatches-soapui-project.xml
Build was aborted
Aborted by admin
Finished: ABORTED
","body@stringLength":"2149","rawBody":"
Thanks you folks for all your suggestions ! I opted to choose to integrate our existing soapUI tests (created using soap UI Free version) and to call test runner utility from Jenkins .
I followed these below steps however job seems to never finish : I had to abort the job , Not sure how we can check if utility is getting called at this point ? Any advise is much appreciated . Let me know if i missed any configuration steps or not calling utility correctly via windows command line options
Downloaded jenkins locally -Jenkins ver. 2.76
Create a job in jenkins and configured job to execute window command line option :
start \"\" \"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\" -sGetRenBatchesTestSuite -cGetRenbatches -r -a -f\"C:\\Program Files\\SmartBear\\SoapUI-5.2.1\\bin\\TestResults\" -I C:\\Users\\xyzusername\\GitHub\\ren-api2\\Tests\\Automated_Test\\GetRenBatches-soapui-project.xml
click build now on new job created
Job never finished so aborted the job and console output log shows as
Started by user admin
Building in workspace C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests
[SoapUIAutomatedTests] $ cmd /c call C:\\Windows\\TEMP\\jenkins2966446162621249649.bat
C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests>start \"\" \"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\" -sGetRenBatchesTestSuite -cGetRenbatches -r -a -f\"C:\\Program Files\\SmartBear\\SoapUI-5.2.1\\bin\\TestResults\" -I C:\\Users\\xyzuser\\GitHub\\ren-api2\\Tests\\Automated_Test\\GetRenBatches-soapui-project.xml
Build was aborted
Aborted by admin
Finished: ABORTED
","author":{"__ref":"User:user:72365"},"isEscalated":null,"postTime":"2017-08-30T14:25:34.248-07:00","solution":false,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"kudosSumWeight":0,"repliesCount":5,"images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:148965_2"},"latestVersion":null,"metrics":{"__typename":"MessageMetrics","views":4421},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"Revision:revision:148968_1":{"__typename":"Revision","id":"revision:148968_1","lastEditTime":"2017-08-30T16:03:50.908-07:00"},"ModerationData:moderation_data:149033":{"__typename":"ModerationData","id":"moderation_data:149033","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"AcceptedSolutionMessage:message:149033":{"__typename":"AcceptedSolutionMessage","author":{"__ref":"User:user:72365"},"id":"message:149033","revisionNum":2,"uid":149033,"depth":4,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:SoapUI_OS"},"parent":{"__ref":"ForumReplyMessage:message:148968"},"conversation":{"__ref":"Conversation:conversation:147688"},"subject":"Re: How do we integrate soapUI test created using soap UI Free version","moderationData":{"__ref":"ModerationData:moderation_data:149033"},"body":"
when start gets removed .....i don't see the build running on the build exectutor status window however build still got executed and failed with this below message. I tried command line option and testrunner.bat is gettting called from commandline with no issues
Console Output
Started by user admin
Building in workspace C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests
[SoapUIAutomatedTests] $ cmd /c call C:\\Windows\\TEMP\\jenkins3244711319342882945.bat
C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests>\"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\" -sGetRenlBatchesTestSuite -cGetRenbatches -r -a -f\"C:\\Program Files\\SmartBear\\SoapUI-5.2.1\\bin\\TestResults\" -I C:\\Users\\XYZuser\\GitHub\\ren-api2\\Tests\\Automated_Test\\GetRenBatches-soapui-project.xml
The system cannot find the path specified.
C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests>exit 3
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
when start gets removed .....i don't see the build running on the build exectutor status window however build still got executed and failed with this below message. I tried command line option and testrunner.bat is gettting called from commandline with no issues
Console Output
Started by user admin
Building in workspace C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests
[SoapUIAutomatedTests] $ cmd /c call C:\\Windows\\TEMP\\jenkins3244711319342882945.bat
C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests>\"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\" -sGetRenlBatchesTestSuite -cGetRenbatches -r -a -f\"C:\\Program Files\\SmartBear\\SoapUI-5.2.1\\bin\\TestResults\" -I C:\\Users\\XYZuser\\GitHub\\ren-api2\\Tests\\Automated_Test\\GetRenBatches-soapui-project.xml
The system cannot find the path specified.
C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests>exit 3
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
I have had testrunner running on jenkins build
The only difference I am using a pro version
open source should be not much different
Is that the correct location
\"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\"
Try your command using command line prompt
I usually do that before adding it to my jenkins build.
","body@stripHtml({\"removeProcessingText\":true,\"removeSpoilerMarkup\":true,\"removeTocMarkup\":true,\"truncateLength\":200})@stringLength":"203","postTime":"2017-08-31T07:46:52.668-07:00","lastPublishTime":"2017-08-31T07:46:52.668-07:00","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"attachments":{"__typename":"AttachmentConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"solution":true,"metrics":{"__typename":"MessageMetrics","views":4405},"placeholder":false,"originalMessageForPlaceholder":null,"videos":{"__typename":"VideoConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"isEscalated":null,"entityType":"FORUM_REPLY","eventPath":"category:soapui-os-community/community:nwkab66374board:SoapUI_OS/message:147688/message:149048","customFields":[],"readOnly":false,"editFrozen":false,"body@stringLength":"448","rawBody":"
I have had testrunner running on jenkins build
The only difference I am using a pro version
open source should be not much different
Is that the correct location
\"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\"
Try your command using command line prompt
I usually do that before adding it to my jenkins build.
","kudosSumWeight":0,"repliesCount":2,"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:149048_1"},"latestVersion":null,"visibilityScope":"PUBLIC","messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}},"body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuMnwyLjF8b3wxfDE0OjAsMzk6MXwx","node":{"__ref":"ForumReplyMessage:message:149107"}}]}},"QueryVariables:ReplyList:message:148968:1":{"__typename":"QueryVariables","id":"ReplyList:message:148968:1","value":{"id":"message:148968","first":10,"sorts":{"kudosSumWeight":{"direction":"DESC","order":0},"postTime":{"direction":"ASC","order":1}},"repliesFirst":3,"repliesFirstDepthThree":1,"repliesSorts":{"kudosSumWeight":{"direction":"DESC","order":0},"postTime":{"direction":"ASC","order":1}},"useAvatar":true,"useAuthorLogin":true,"useAuthorRank":true,"useBody":true,"useKudosCount":true,"useTimeToRead":false,"useMedia":false,"useReadOnlyIcon":false,"useRepliesCount":true,"useSearchSnippet":false,"useAcceptedSolutionButton":true,"useSolvedBadge":false,"useAttachments":false,"attachmentsFirst":5,"useTags":false,"useNodeAncestors":false,"useUserHoverCard":false,"useNodeHoverCard":false,"useModerationStatus":true,"usePreviewSubjectModal":false,"useMessageStatus":true}},"CachedAsset:text:en_US-shared/client/components/users/UserAvatar-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserAvatar-1741125846000","value":{"altText":"{login}'s avatar","altTextGeneric":"User's avatar"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/ranks/UserRankLabel-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/ranks/UserRankLabel-1741125846000","value":{"altTitle":"Icon for {rankName} rank"},"localOverride":false},"CachedAsset:text:en_US-components/messages/AcceptedSolutionButton-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/AcceptedSolutionButton-1741125846000","value":{"accept":"Mark as Solution","accepted":"Marked as Solution","errorHeader":"Error!","errorAdd":"There was an error marking as solution.","errorRemove":"There was an error unmarking as solution.","solved":"Solved","topicAlreadySolvedErrorTitle":"Solution Already Exists","topicAlreadySolvedErrorDesc":"Refresh the browser to view the existing solution"},"localOverride":false},"CachedAsset:text:en_US-components/messages/ThreadedReplyList-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/ThreadedReplyList-1741125846000","value":{"title":"{count, plural, one{# Reply} other{# Replies}}","title@board:BLOG":"{count, plural, one{# Comment} other{# Comments}}","title@board:TKB":"{count, plural, one{# Comment} other{# Comments}}","title@board:IDEA":"{count, plural, one{# Comment} other{# Comments}}","title@board:OCCASION":"{count, plural, one{# Comment} other{# Comments}}","noRepliesTitle":"No Replies","noRepliesTitle@board:BLOG":"No Comments","noRepliesTitle@board:TKB":"No Comments","noRepliesTitle@board:IDEA":"No Comments","noRepliesTitle@board:OCCASION":"No Comments","noRepliesDescription":"Be the first to reply","noRepliesDescription@board:BLOG":"Be the first to comment","noRepliesDescription@board:TKB":"Be the first to comment","noRepliesDescription@board:IDEA":"Be the first to comment","noRepliesDescription@board:OCCASION":"Be the first to comment","messageReadOnlyAlert:BLOG":"Comments have been turned off for this post","messageReadOnlyAlert:TKB":"Comments have been turned off for this article","messageReadOnlyAlert:IDEA":"Comments have been turned off for this idea","messageReadOnlyAlert:FORUM":"Replies have been turned off for this discussion","messageReadOnlyAlert:OCCASION":"Comments have been turned off for this event"},"localOverride":false},"Rank:rank:10":{"__typename":"Rank","id":"rank:10","position":16,"name":"Super Contributor","color":"00537C","icon":null,"rankStyle":"OUTLINE"},"Revision:revision:149048_1":{"__typename":"Revision","id":"revision:149048_1","lastEditTime":"2017-08-31T07:46:52.668-07:00"},"Revision:revision:148965_2":{"__typename":"Revision","id":"revision:148965_2","lastEditTime":"2017-08-30T14:27:26.476-07:00"},"Revision:revision:149033_2":{"__typename":"Revision","id":"revision:149033_2","lastEditTime":"2017-08-31T05:59:18.698-07:00"},"ModerationData:moderation_data:149107":{"__typename":"ModerationData","id":"moderation_data:149107","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:149107":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:72365"},"id":"message:149107","revisionNum":1,"uid":149107,"depth":6,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:SoapUI_OS"},"parent":{"__ref":"AcceptedSolutionMessage:message:149048"},"conversation":{"__ref":"Conversation:conversation:147688"},"subject":"Re: How do we integrate soapUI test created using soap UI Free version","moderationData":{"__ref":"ModerationData:moderation_data:149107"},"body":"
Like i mentioned earlier in my post I was able to run using command line prompt and also based on the log it is reading from correct location as highlightened in bold -\"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\"
Console Output
Started by user admin
Building in workspace C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests
[SoapUIAutomatedTests] $ cmd /c call C:\\Windows\\TEMP\\jenkins3244711319342882945.bat
C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests>\"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\" -sGetRenlBatchesTestSuite -cGetRenbatches -r -a -f\"C:\\Program Files\\SmartBear\\SoapUI-5.2.1\\bin\\TestResults\" -I C:\\Users\\XYZuser\\GitHub\\ren-api2\\Tests\\Automated_Test\\GetRenBatches-soapui-project.xml
The system cannot find the path specified.
C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests>exit 3
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
Like i mentioned earlier in my post I was able to run using command line prompt and also based on the log it is reading from correct location as highlightened in bold -\"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\"
Console Output
Started by user admin
Building in workspace C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests
[SoapUIAutomatedTests] $ cmd /c call C:\\Windows\\TEMP\\jenkins3244711319342882945.bat
C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests>\"C:\\Program Files (x86)\\SmartBear\\SoapUI-5.2.1\\bin\\testrunner.bat\" -sGetRenlBatchesTestSuite -cGetRenbatches -r -a -f\"C:\\Program Files\\SmartBear\\SoapUI-5.2.1\\bin\\TestResults\" -I C:\\Users\\XYZuser\\GitHub\\ren-api2\\Tests\\Automated_Test\\GetRenBatches-soapui-project.xml
The system cannot find the path specified.
C:\\Program Files (x86)\\Jenkins\\workspace\\SoapUIAutomatedTests>exit 3
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE