Contributions
Re: Caching issues - Environment Testings
Hi, Thanks for the reply. I could replicate the issue in SoapUI GUI while running between environments. If I open the Data Source step in any failed case, I notice the Connection is set to NONE (instead of testing/staging JDBC connection). I added a test step to log the connectionString after the DataSource step. The connectionString is updated properly while running between environments. It seems the JDBC connection is NOT reset (close the connectoin to testing db and open a new connection to staging db) while switching to a new environment. In addition, is there any workaround for the JDBC connection issue you mentioned below? I tried to put a Groovy script at the Event handler as described in the following post, but it does not work. http://forum.loadui.org/viewtopic.php?f ... hilit=1210 Thanks again for your help.10 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.2KViews0likes0CommentsRe: Caching issues - Environment Testings
We could reproduce the issue from the UI. It happens the first time we open SoapUI Pro 5.1.2 and run the project with staging environment. Per the http log, the ID passed in the REST request is incorrect. It is cached ID for the default testing environment, not staging environment. It seems the parameter in the request is cached. For the data source step, "Restarts DataSource when step is run" option is checked. Please advise. Thanks!10 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.2KViews0likes0CommentsRe: Caching issues - Environment Testings
It is a single database connection to SQL Server. The query is a simple select statement in the data source. It queries different database server (different ip and port #) for testing and staging environment. For the test case, here are details about test steps: 1. data source: select top 1 id from products (id=12345 in testing db, and id=67890 in staging db) 2. get method: pass the id from the above data source in the request For default (testing) run, the id passed in the raw request is 12345 which is correct. For staging run, the id passed in the raw request is 12345 instead of 67890. Thanks for your time! SmartBear Support wrote: Hi, What DataSource are you referring to? Have you setup JDBC DataSources gathering values from different database queries? Please confirm what is the scenario. Thanks, Giscard SmartBear Support10 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.2KViews0likes0CommentsCaching issues - Environment Testings
We have a composite project with different environments (testing, staging) set up, and the default is testing environment. The two environments have different end points and JDBC connections (different database server and port #). We run the project in different environments from the command line by using the following commands: - default (testing) testrunner.bat -j -M -A -r -f "c:\soapui\RegressionResults\testing" -EDefault "c:\soapui\projects\project" - staging testrunner.bat -j -M -A -r -f "c:\soapui\RegressionResults\staging" -Estaging "c:\soapui\projects\project" The default (testing) run is working properly. However, many test cases failed in the stating run because the values returned from the data source are incorrect. They seems to be the cached values from previous run (testing). We have set cache definitions option to FALSE at the project level. Is there any setting that clears the cache after each run? Please advise. Thanks!10 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.5KViews0likes6CommentsMultiple Endpoint For a Project Running via command line
Hi, We have a composite Project where our Authorization cases use a endpoint and all other cases uses a Different endpoint. When Running Via Command Line , the endpoint we give overrides and applies to entire project. Is there any Workaround or alternative solution.10 years agoPlace ReadyAPI QuestionsReadyAPI Questions1KViews0likes1CommentAuthorization details are LOST after Save Project As
We have a project with Authorization (Basic) details, such as Username, Password etc at test case level. Now we save the project as a new project. Authorization details are lost while loading from the new project. This seems to be a bug. Please advise. Thanks!10 years agoPlace ReadyAPI QuestionsReadyAPI Questions912Views0likes1CommentRe: Issue With File Upload
Thanks , Still i am getting the error. Please find the sample request which passes - Using REST Console: Request Method: POST Http Version: 1.1 Request Uri: http://10.52.1.162/shared/customfiles Request Headers: Connection: keep-alive Accept: application/json Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en; q=0.8 Authorization: Bearer 31aeb74c-821d-41b1-a21e-aa8f8ed8ddff Host: 10.52.1.162 User-Agent: Mozilla/5.0,(Windows NT 6.1; WOW64),AppleWebKit/537.36,(KHTML, like Gecko),Chrome/28.0.1500.71,Safari/537.36 Origin: chrome-extension://cokgbflfommojglbmbpenpphppikmonn Content-Length: 1098 Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryEgZf6pZEAfDlGSkJ Request Content: ------WebKitFormBoundaryEgZf6pZEAfDlGSkJ Content-Disposition: form-data; name="data" { "FileBlade": "EBF9EE5649DB449E86F500C869BC2698", "FileFolder": "C4FFF652663942828E50E7B2E4499915", "ContentLength": 50000, "ContentType": "txt" } ------WebKitFormBoundaryEgZf6pZEAfDlGSkJ Content-Disposition: form-data; name="Password_Change.txt"; filename="Password_Change.txt" Content-Type: text/plain file content ------WebKitFormBoundaryEgZf6pZEAfDlGSkJ--11 years agoPlace ReadyAPI QuestionsReadyAPI Questions941Views0likes0CommentsRe: Can't upload document via SoapUI, cURL works
Thanks Renato, my server expects a file and also "data value" in request parameters data Value : { "FileBlade": "EBF9EE5649DB449E86F500C869BC2698", "FileFolder": "C4FFF652663942828E50E7B2E4499915", "ContentLength": 50000, "ContentType": "txt" } Please let me know where to put this Data Value ? Thanks in Advance.11 years agoPlace ReadyAPI QuestionsReadyAPI Questions5.7KViews0likes0CommentsIssue With File Upload
SmartBear Support, I posted this while ago, was expecting some Pro support, still dint get any response, so I am reposting this as separate thread, please check this. I have to do a POST request for file upload. here is details of my call. 1. Attached the file in the tab, set it as multipart/form-data 2. Need to give some parameter values , which has information where the file will be upload. I have put in tab below "media Type" - checked "Post Querystring" sample data: data { "FileBlade": "EBF9EE5649DB449E86F500C869BC2698", "FileFolder": "C4FFF652663942828E50E7B2E4499915", "ContentLength": 50000, "ContentType": "txt" } when i POST the request i am getting 500 error. when i tried using "REST Console "chrome addon, this is working fine. This is my test request: ---- start POST http://ip/shared/customfiles HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: multipart/form-data; boundary="----=_Part_2_28697245.1370978871834" Authorization: Bearer {b5814f3f-4562-4082-9a36-52a1705b5c4e} MIME-Version: 1.0 Content-Length: 558 Host: ip Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) -----=_Part_2_28697245.1370978871834 Content-Type: multipart/form-data Content-Transfer-Encoding: 8bit data { "FileBlade": "EBF9EE5649DB449E86F500C869BC2698", "FileFolder": "C4FFF652663942828E50E7B2E4499915", "ContentLength": 50000, "ContentType": "txt" } ------=_Part_2_28697245.1370978871834 Content-Type: multiform/form-data; name=Prtest.txt Content-Transfer-Encoding: binary Content-Disposition: form-data; name="Prtest.txt"; filename="Prtest.txt" hi world ------=_Part_2_28697245.1370978871834-- SmartBear Support, can you please check and let me know what is wrong here. Thanks for the help.11 years agoPlace ReadyAPI QuestionsReadyAPI Questions3KViews0likes3Comments