Contributions
Re: [Soapui Load Tests] Setting rate and limit using properties
Thanks for your answer, indeed I was not saving the references file before updating the properties values but saving this file before launching my load test doesn't solve the problem. I also tried to use TestSuite-level properties without success. The "Limit" value doesn't seems to be configurable using property (when I enter ${#TestSuite#LIMIT} as value in the limit field and then click on other field, the value of the "Limit" field gets back to its old value - without property). The "Rate" value seems to accept a property-based value (I enter ${#TestSuite#RATE}) but, when I launch my load test, the TPS value doesn't match with the rate-property value (for example 50) but match with the rate value setted before the property (in my example 90).1.1KViews0likes0Comments[Soapui Load Tests] Setting rate and limit using properties
Hi all, I'm evaluating SoapUI Pro for our needs and I try to launch a load test using properties values for setting up some of the load test parameters. I've created a loadtest using fixed-rate strategy, I've created global properties RATE and LIMIT (with correct values) and I have set ${#Global#RATE} as rate value and ${#Global#LIMIT} as limit value in my loadtest. It worked well during the first execution of my loadtest but, when I modified the properties values and re-launch the loadtest it still used the old values (the one that were set at the creation of the properties). Is it possible to launch a loadtest with dynamic parameters as I'm trying to do ? Thanks by advance for your answer1.7KViews0likes2CommentsRe: Replace complete POST Request XML Content using Groovy scrip
I didn't say it clearly but I am trying to send a POST request to a REST service. My POST request contains some parameters AND the xml content that is sent to the service (and that I want to replace). As you said, I'm in case b: the xml content varies too much to change eache node value one by one. I tried: def holder = groovyUtils.getXmlHolder("CreationPOST#Request") holder.updateProperty('REQUEST_XML_CONTENT', "test") But I get the following error: No signature of method: com.eviware.soapui.support.XmlHolder.updateProperty() is applicable for argument types: (java.lang.String, java.lang.String) values: [REQUEST_XML_CONTENT, test] ###################### And when I try: project.updateProperty('REQUEST_XML_CONTENT', "test") I get: ERROR:groovy.lang.MissingPropertyException: No such property: project for class: Script5 Any idea ?5.1KViews0likes0CommentsReplace complete POST Request XML Content using Groovy scrip
Hi, I'm sending POST request using SoapUI and I want to replace the current XML content of my request with a String I created using a groovy script. I've found several ways to update one node value of my request (using getXmlHolder and setNodeValue), but no way to replace the whole xml content of my POST request. Is there a way to replace the whole content of my xml request with a String ? Thanks a lot for your answer.6.9KViews0likes7Comments