header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
December 01, 2008, 07:46:43 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
SoupUI Pro Locking up my Mac System
Welcome, Guest. Please login or register.
December 01, 2008, 07:46:43 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  SoupUI Pro Locking up my Mac System
« previous next »
Pages: [1] Print
Author Topic: SoupUI Pro Locking up my Mac System  (Read 767 times)
John R. Brewster
Newbie
*
Posts: 10


« on: September 02, 2008, 11:19:02 pm »

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 = ["<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:osp='http://www.xxxxxx.com/OSPWebService'>", "<soapenv:Header/>", "<soapenv:Body>", "<osp:RemovePath>", "<osp:P_path>"];
def closing = ["</osp:P_path>","</osp:RemovePath>","</soapenv:Body>","</soapenv:Envelope>"];

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 )
}


Logged
Lars
Global Moderator
Newbie
*****
Posts: 17


« Reply #1 on: September 04, 2008, 07:22:33 am »

Hi John,

This sounds really bad. I will investigate this today.

Regards,
Lars,
eviware.com
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,466


« Reply #2 on: September 04, 2008, 08:35:06 am »

Hi John,

This sounds really bad.. hmm.. can you give some details on your system setup, maybe attach the contents of the Help\System Properties dialog in soapUI?

regards!

/Ole
eviware.com
Logged
Lars
Global Moderator
Newbie
*****
Posts: 17


« Reply #3 on: September 04, 2008, 08:10:08 pm »

Hi John,

I cannot reproduce this problem on my own Mac. Does this happen right after you started soapUI, or have you executed a Groovy script? Do you have problems no matter which projects you have open? If there is one specific project that causes the problems, is it possible for you to send it to me? (lars@eviware.com)

Thanks in advance for helping us resolve this issue.

/Lars
Logged
Sachin Sawe
Newbie
*
Posts: 17


« Reply #4 on: September 05, 2008, 08:48:22 pm »

Yes, John I noticed the same problem in soapUI.

Ole,

Can you please inform someone in soapUI development team about this issue?

Also is there a workaround to this other than not pointing in log window. The same issue occurred on my mac about 20 times or so by now. I also like soapUI. I think its a powerful tool. But there are a few issues with soapUI which are really bad and make me wonder if I should continue using soapUI further. This issue is certainly one of them

Thanks,
Sachin
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,466


« Reply #5 on: September 05, 2008, 09:10:28 pm »

Hi Sachin,

We are very aware of the issue and we are trying to resolve it. It seems to be related to MacOS; which JRE/OS are you using on this platform? Are you getting any errors in any of the logs or console window?

regards,

/Ole
eviware.com
Logged
John R. Brewster
Newbie
*
Posts: 10


« Reply #6 on: September 08, 2008, 09:25:30 pm »

I am not getting any errors, however, I think it has to do with the "Size" of an output that I put into the log.info area.

-jB
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,466


« Reply #7 on: September 08, 2008, 09:29:58 pm »

ok.. can you give an estimate of how big the output is? Are you logging it with log.info(...)?

regards,

/Ole
eviware.com
Logged
Sachin Sawe
Newbie
*
Posts: 17


« Reply #8 on: September 09, 2008, 03:01:50 pm »

Yes, Ole. I also experience this issue after a lot of error messages pile up in log window. Sometimes I receive MultipleErrors type of exception. Most of the types this happened with me was when I received this particular exception

hope this helps,

Sachin
Logged
Lars
Global Moderator
Newbie
*****
Posts: 17


« Reply #9 on: September 11, 2008, 08:10:04 am »

Hi, Sachin,

Thanks for the information. It helped me to reproduce the problem. The Mac totally locked up, I couldn't do anything other than moving the cursor. This is strange on a dual core system.

But now that I can reproduce the error, I hope to be able to fix this soon.

Regards,
Lars
eviware.com
Logged
Lars
Global Moderator
Newbie
*****
Posts: 17


« Reply #10 on: September 19, 2008, 07:55:33 am »

Hi again,

Unfortunately, I have not been able to reproduce this error again :-(
My Mac hung once after I hibernated it, so I thought I was onto something. But it never happened again.

Do you have any more information about which JDK, what kind of Mac, etc?

/Lars
Logged
Lars
Global Moderator
Newbie
*****
Posts: 17


« Reply #11 on: September 19, 2008, 06:23:34 pm »

If I log very long strings, and move the mouse above the log panel, my Mac hangs for about 10 seconds. This is a lot less than you are experiencing, but perhaps the root problem is the same.

I am checking in a fix for this that will be available in the next build. Hopefully, this will solve your problem. Please let me know how it works.

Regards,
Lars, eviware.com
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header