John_R__Brewste
17 years agoOccasional Contributor
SoupUI Pro Locking up my Mac System
I am using SoapUI pro.
I have noticed that when I am working on a Groovy Script my system seems to lock up for 20 - 40 Minutes. I further notice that it is mainly when I move my mouse pointer into the Log Output section of the GUI. If I close the Log Output window the issue is minimal. However, I need the Log output to troubleshoot and verify the script.
Is this something that is known? Is there something I can do about this - it is very detrimental to my work productivity to wait 40+ minutes for my system to return to a working system.
I really like SoapUI and my boss enjoys the testing that we are able to do with it. I need to be able to continue to develop.
Help,
John
ps. As as example I submit my latest issue.
/*
* Cleanup Script
* XXXXXXXX , Inc
* ver 20080902.001
*/
import java.text.DateFormat;
import java.text.SimpleDateFormat;
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def _xmlUtil = new com.eviware.soapui.support.xml.XmlUtils();
def testCase = testRunner.testCase;
def opening = ["", " ", "", "", ""];
def closing = [" "," ",""," "];
def list = []
def cleanUp01 = groovyUtils.getXmlHolder ( "Cleanup_01#Response" );
def reqPaths = cleanUp01.getDomNodes ( "//ns1:APS_LINE_RECORD/descendant::*" );
def cleanUp02 = groovyUtils.getXmlHolder ( "Cleanup_02#Request" );
def resPaths = cleanUp02.getDomNodes ( "/" );
for (k in resPaths) {
cleanUp02.removeDomNodes ( _xmlUtil.createXPath ( k ))
}
cleanUp02.updateProperty()
for (j in opening) {
insertIntoList ( j, list);
}
for (i in reqPaths) {
createNewNode( i, list )
}
for (l in closing) {
insertIntoList ( l, list )
}
log.info list
def result = list
/*
* Some functions
*/
def createNewNode (node, list) {
def _xmlUtil = new com.eviware.soapui.support.xml.XmlUtils();
java.io.StringWriter writer = new java.io.StringWriter()
com.eviware.soapui.support.xml.XmlUtils.serialize ( node, writer )
list.add ( writer.toString() )
}
def insertIntoList (node, list) {
list.add ( node )
}
I have noticed that when I am working on a Groovy Script my system seems to lock up for 20 - 40 Minutes. I further notice that it is mainly when I move my mouse pointer into the Log Output section of the GUI. If I close the Log Output window the issue is minimal. However, I need the Log output to troubleshoot and verify the script.
Is this something that is known? Is there something I can do about this - it is very detrimental to my work productivity to wait 40+ minutes for my system to return to a working system.
I really like SoapUI and my boss enjoys the testing that we are able to do with it. I need to be able to continue to develop.
Help,
John
ps. As as example I submit my latest issue.
/*
* Cleanup Script
* XXXXXXXX , Inc
* ver 20080902.001
*/
import java.text.DateFormat;
import java.text.SimpleDateFormat;
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def _xmlUtil = new com.eviware.soapui.support.xml.XmlUtils();
def testCase = testRunner.testCase;
def opening = ["
def closing = ["
def list = []
def cleanUp01 = groovyUtils.getXmlHolder ( "Cleanup_01#Response" );
def reqPaths = cleanUp01.getDomNodes ( "//ns1:APS_LINE_RECORD/descendant::*" );
def cleanUp02 = groovyUtils.getXmlHolder ( "Cleanup_02#Request" );
def resPaths = cleanUp02.getDomNodes ( "/" );
for (k in resPaths) {
cleanUp02.removeDomNodes ( _xmlUtil.createXPath ( k ))
}
cleanUp02.updateProperty()
for (j in opening) {
insertIntoList ( j, list);
}
for (i in reqPaths) {
createNewNode( i, list )
}
for (l in closing) {
insertIntoList ( l, list )
}
log.info list
def result = list
/*
* Some functions
*/
def createNewNode (node, list) {
def _xmlUtil = new com.eviware.soapui.support.xml.XmlUtils();
java.io.StringWriter writer = new java.io.StringWriter()
com.eviware.soapui.support.xml.XmlUtils.serialize ( node, writer )
list.add ( writer.toString() )
}
def insertIntoList (node, list) {
list.add ( node )
}