M_McDonald
14 years agoSuper Contributor
Set Grid load strategy config from script
Is there a way to configure a Grid load test from a script rather than by hand from the UI? I've tried the following from the load test setup script:
and gridConfig is an XmlObject that looks like this:
but there is no effect.
Thanks.
loadTestRunner.loadTest.loadStrategy.updateConfig(gridConfig)
and gridConfig is an XmlObject that looks like this:
<xml-fragment>
<duration>0</duration>
<times><![CDATA[<xml-fragment>
<con:entry xmlns:con='http://eviware.com/soapui/config'>1</con:entry>
<con:entry xmlns:con='http://eviware.com/soapui/config'>2</con:entry>
<con:entry xmlns:con='http://eviware.com/soapui/config'>3</con:entry>
</xml-fragment>]]></times>
<threads><![CDATA[<xml-fragment>
<con:entry xmlns:con='http://eviware.com/soapui/config'>1</con:entry>
<con:entry xmlns:con='http://eviware.com/soapui/config'>2</con:entry>
<con:entry xmlns:con='http://eviware.com/soapui/config'>3</con:entry></xml-fragment>]]></threads>
</xml-fragment>
but there is no effect.
Thanks.