Contributions
soapui test wont run in loadui
Hi, I have some tests that run fine in SoapUI, but when I run them in LoadUI, I always get the following error message: [No such property: JSON for class: Script1] In the test i'm using Groovy to pull out some data from the first request. If I only run the first request, then it works perfectly. I have added the same files from SoapUIs /ext library and copied it to the loadui /ext library. Can anyone help??13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes0Commentsusing property from command line in assertion
hi, I have some scripts, that we are calling from the command line via testrunner. As we are running against different hosts, I would like to be able to do some assertions against the different host, depending on what host property we have put into the command like. Like we are running: testrunner.bat -h 'hostAndPort' Test. Then I would like to pull out the host and port from this request into my test, is that possible? Regards Skjoldan1.1KViews0likes2CommentsRe: getting property from Raw Response
I have found a fix which seems to work. Through a groovy script I'm using af JSON.Parser for getting the correct information, code is here: import grails.converters.* def testRequest = testRunner.testCase.testSteps["bestilling med kunde - W"].testRequest.response.contentAsString log.info testRequest //def file = new File("c:/array.txt") //def text = file.getText().trim() def text = testRequest def jsonArray = JSON.parse(text) def result = jsonArray."array-init" log.info result return result But you need to have the grails files in your soapUI lib.1.2KViews0likes0Commentsgetting property from Raw Response
Hi, I need to pull out a property (A large string), from a response of a rest call. I have tried using property transfer, with response as XML. The problem is that the response contains /r/n and SoapUI and when I pull it out as xml, then the /r/n is being removed. So i need the text from the raw tab, as that contains /r/n Can anybody help me?1.8KViews0likes1CommentRe: cutting of string in request
Hi Ole, I'm sorry, it was my fault, it was sending it all correctly, the problem was that I did not know about the setting - Size of request and response to show. - when I set that higher I could see the whole request. Now I just have to figure out another problem that I have, but that is another bug, so will write in another forum. /Skjoldan14 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews0likes0CommentsRe: cutting of string in request
I have tried putting the string through a property, I can see the property has all the data, but when i'm sending it through the request, then it is cut off. The same problem when running with TestRunner. I'm trying to do a REST request.14 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews0likes0Commentscutting of string in request
Hi, I have a request that contains a very long string, the problem is that SoapUI, is cutting the string in the request, so it fails because not the whole request is being sent. I have tried the same request in Rest Client for firefox, and there it work perfectly. I have attached a couple of documents for information, hope you can help.14 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.1KViews0likes4Comments