Contributions
Re: Need help !!
Hi, Though, from your post it is visible that you have an error in your response, which itself is not complete.Not exactly, but similar issue occured for me, when only 25% of response data was visible in the GUI. As I used to save all my responses, I notice that all expected response data was available in the saved file.Still i am not able to figure it out the reason for the same, and opened up a case in the forum.My reason for this behaviour says that, could be GUI resposne may not be able to handle big volume of data & thus has its limitation on how much to show from GUI response screen. In your case,any trace/logs from the application also serves good purpose,if error is user defined.Anyhow, if it occurs for few service alone, as already suggested, you need to be in touch with the service provider. Thanks Gurpreet1.2KViews0likes0CommentsRe: How to transfer cookies that are passed in the header
I am using Sopaui free version, but using login session of sigon using the below: Right Click on testCase->Options and select checkbox Session:Maintain HTTP session. Hope this is what you are looking for & it helps. Thanks, Gurpreet3KViews0likes0Comments25% of Response data is Visible from RAW Resposne GUI TAB
Hi All, I am wondering the reason for Response for the request does not show in the GUI Response,under RAW tab.But I am able to save the response using groovy during test run and complete 804KB of response data is available, but from GUI, I can see only 25% of data visible. can any one guide me for this behaviour. I am using SOPAUI 4.5.1 Thanks, Gurpreet1.1KViews0likes1CommentDynamic endpoint as commandline parameter for Testrunner.bat
Hi Guys, 1. Can I parameterize endpoint when running suite as commandline: I am getting error, as url variable, which is an endpoint is not recognizing. ====================== set url = http://<host>:<port> testrunner.bat -e%url% -sREST_Suite -EDefault -I -S -tC:\Users\soapui-settings.xml "D:\WebServices\REST\Automation\REST WebServices Test Plan-soapui-project.xml" ======================= 2. As above is a batch, can I run the same from vbscript Thanks, Gurpreet1.6KViews0likes2CommentsRe: teardown/Setup script for Suite & Test level NOT running
Hi, Just to explain the query: Below scripts I have placed under "Setup Script" tab for Pre Suite run to delete the old Result folder & create a new one, where all my suite results will get saved. these script works fine, If I run suite using GUI.but when I run my suite from command line, these same lines does not gets executed. ==================================================== groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) holder = groovyUtils. getProjectPath() //Delete OLD resultfile and create New result file for New REST test run wasDelated = new File(holder + "/Results").deleteDir() wasDeleted = new File(holder + "/Results").mkdir() ==================================================== Similarly, I have few scripts for post suite run, in "teardown" tab.again those works fine from GUI, but from command Line does not runs. Thanks655Views0likes0Commentsteardown/Setup script for Suite & Test level NOT running
Hi Guys, Can anyone suggest ,Why my teardown/Setup script for Suite & Test level works fine from GUI, & NOT from command prompt. Suite runs as expected but none of the script statement gets executed.I am doing pre test verification & port tests verifications in setup & teardown script. Is it some thing I am missing.If this is a limitation(which looks most probably not), I might need to add those in groovy script & run. Thanks,1.3KViews0likes2Commentsget file/folder path
Hi folks, Can anyone suggest, how tp get the file/folder path from groovy.Not sure soapui board is the place to ask? I have tried all, as below, but all reterives the SOAPUI path, till bin dir: //log.info new File(".").absolutePath //log.info new File("").getCanonicalPath() //String currentDir = new File(".").getAbsolutePath() //def scriptDir = getClass().protectionDomain.codeSource.location.path I want to get the path of the file "file.groovy", which is "c:\user\folder1\subfolder1\sub2\sub3\sub4\" from the below: c:\user\folder1\subfolder1\sub2\sub3\sub4\file.groovy Any inputs helps Thanks,1.5KViews0likes1Comment- 12KViews0likes0Comments