alibaba82
13 years agoSuper Contributor
some help with loadui extension code
Hello,
I have a soapUI testcase with a few REST steps. This soapui testcase is being run via loadui. I wrote a very simple loadui extension that prints a file as this test is run. Can I get some code help so that the following information is appended to the file
name of each soapui teststep in the testcase, response time of the teststeps, http status code, bytes, timestamp, URI, thread_id (since this is a load test)
Thanks
Ali
This is what I have so far. I 'm not really sure to fetch soapui related information from loadui extensions. I tried parsing the message object but it only displays the last teststep's information
I have a soapUI testcase with a few REST steps. This soapui testcase is being run via loadui. I wrote a very simple loadui extension that prints a file as this test is run. Can I get some code help so that the following information is appended to the file
name of each soapui teststep in the testcase, response time of the teststeps, http status code, bytes, timestamp, URI, thread_id (since this is a load test)
Thanks
Ali
This is what I have so far. I 'm not really sure to fetch soapui related information from loadui extensions. I tried parsing the message object but it only displays the last teststep's information
createInput( "input", "Incoming Messages" )
createOutput( "output", "Outgoing Messages" )
onMessage = { incoming, outgoing, message ->
new File("E:\\test.txt").append(message.toString())
//parse message content to get desired info ?
}