Contributions
How to use default namespace instead of prefix
Hi, is there a way in SoapUI to controll how namespace prefixes are used when SoapUI creates web service (SOAP) request? Below is example of how SoapUI generates sample request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://mycompany.com/project/2012-05-29"> <soapenv:Header/> <soapenv:Body> <ns:[/b]FaresInformationRequest> <ns:Origin> <ns:Crs>XYZ<ns:Crs> </ns:Origin> </ns:FaresInformationRequest> </soapenv:Body> </soapenv:Envelope> Notice the namespace with the prefix ns. What I'd like to have is default namespace used instead: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://mycompany.com/project/2012-05-29"> <soapenv:Header/> <soapenv:Body> <FaresInformationRequest> <Origin> <Crs>XYZ</Crs> </Origin> </FaresInformationRequest> </soapenv:Body> </soapenv:Envelope> Is it possible for SoapUI to make the namespace default so that ns prefix will disappear from all the subsequent elements? How this can be achieved? Thanks11 years agoPlace ReadyAPI QuestionsReadyAPI Questions6.6KViews0likes1CommentRe: single userid multiple licences?
if I am correct then what you are asking/suggesting is:- From PC1, take a coopy of the users soapui.key from .soapui From PC2, when it asks for a valid licence, I point to the copy I have just loaded? If this is correct then I am missing something, as the application keeps asking for the licenec file location... no error just asks to enter the location of the .key file. Am I missing a step or not understanding?12 years agoPlace ReadyAPI QuestionsReadyAPI Questions505Views0likes0CommentsRe: Increasing memory doesn't seem to increase it
Thank you for info. Sorry, I cannot provide project, but I will send you error log. I previously noticed, that out of memory error rises when large responses are coming from server, so I set soapui preferences as following: 1. UI Settings - Garbage Collection Interval - 20 2. over TestCase Options - Discards successful TestStep results to preserve memory = true Is there any other option I could try to set to prevent out of memory error? Currently, I have tried following: 1. import project about 4,4 MB size to soapui and run all packages, it worked fine. I saw in task manager soapui consumes 1,13 MB 2. import project about 8,4 MB size to saopui and run all packages, it didn't work at all. I saw in task manager soapui consumes 1,17 MB. I've got instant alert window "Exit without saving?" and Perm gen space error in soapui error log: 2012-12-04 09:40:36,401 ERROR [errorlog] java.lang.OutOfMemoryError: PermGen space java.lang.OutOfMemoryError: PermGen space 2012-12-04 09:40:36,447 ERROR [errorlog] java.lang.Exception: java.lang.OutOfMemoryError: PermGen space java.lang.Exception: java.lang.OutOfMemoryError: PermGen space at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.load(AbstractDefinitionContext.java:162) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.load(AbstractDefinitionContext.java:115) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.loadIfNecessary(AbstractDefinitionContext.java:91) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.getInterfaceDefinition(AbstractDefinitionContext.java:79) at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.getDefinition(WsdlContext.java:71) at com.eviware.soapui.impl.wsdl.WsdlOperation.getBindingOperation(WsdlOperation.java:754) at com.eviware.soapui.impl.coverage.WsdlOperationCoverage.<init>(SourceFile:47) at com.eviware.soapui.impl.coverage.WsdlInterfaceCoverage.<init>(SourceFile:41) at com.eviware.soapui.impl.coverage.ProjectCoverage.a(SourceFile:192) at com.eviware.soapui.impl.coverage.ProjectCoverage.c(SourceFile:162) at com.eviware.soapui.impl.coverage.ProjectCoverage.<init>(SourceFile:133) at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectTestSuitesTabPanel.a(SourceFile:83) at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectTestSuitesTabPanel.addTabs(SourceFile:73) at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.buildTabs(WsdlProjectTestSuitesTabPanel.java:196) at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.buildContent(WsdlProjectTestSuitesTabPanel.java:100) at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.buildUI(WsdlProjectTestSuitesTabPanel.java:93) at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectTestSuitesTabPanel.<init>(WsdlProjectTestSuitesTabPanel.java:80) at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectTestSuitesTabPanel.<init>(SourceFile:65) at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectDesktopPanel.buildTestSuitesTab(SourceFile:114) at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectDesktopPanel.addTabs(WsdlProjectDesktopPanel.java:114) at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectDesktopPanel.addTabs(SourceFile:52) at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectDesktopPanel.buildTabbedPane(WsdlProjectDesktopPanel.java:107) at com.eviware.soapui.impl.wsdl.panels.project.WsdlProjectDesktopPanel.<init>(WsdlProjectDesktopPanel.java:99) at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectDesktopPanel.<init>(SourceFile:46) at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectPanelBuilder.buildDesktopPanel(SourceFile:34) at com.eviware.soapui.impl.wsdl.panels.project.ProWsdlProjectPanelBuilder.buildDesktopPanel(SourceFile:20) at com.eviware.soapui.ui.TabbedSoapUIDesktop.showDesktopPanel(SourceFile:214) at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:590) at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:578) at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:53) at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89) at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:107) at com.eviware.soapui.ui.Navigator$TreeMouseListener$1.run(Navigator.java:408) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.OutOfMemoryError: PermGen space Regards, JJ12 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.9KViews0likes0CommentsRe: Increasing memory doesn't seem to increase it
yes, every time I have run package. I am wondering how soapui works. If I specify 2GB in bat as java parameter, soapui still allocates only something about 800MB - this is what I see in memory log tab12 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.9KViews0likes0CommentsIncreasing memory doesn't seem to increase it
Hi, I have 32-bit SOAPUI Pro v4.5.0 running on 64-bit Windows7 OS with 4GB RAM & 64-bit JRE 1.7 running. I tried also 64-bit SOAPUI Pro v4.5.0, but I've got same issue. When increasing memory in soapui-pro.bat to JAVA_OPTS=-Xms256m -Xmx2048m, pc still allocates only ~ 600 - 800 MB for soapui, however pc total memory usage shows 2.5 GB of all processes, so there is still enough empty space. I have a large projects in soapui, they 've go stuck when running one package of testcases in sequence as it's quite big. I am not able to open up any step withing testcase to see input. I have also set Discard OK Result = true for testcases, but issue is still lasting. What I am doing wrong, why cannot increase memory? Regards, JJ12 years agoPlace ReadyAPI QuestionsReadyAPI Questions7KViews0likes8Commentssingle userid multiple licences?
Hi, Sorry if this has been asked already, I just could find any topic which covered the following.. and thought it safer to ask before doing than trying to fix after! I have a user which uses 2 different systems (PCs)... is the licence per user, per system or combined system and user? I have a licence ready to install on the new system, just don't want to break the working users setup then have to untangle any mess. Many thanks,12 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes1Commenttrying to activate licence
6 user licence key, 2 activated without issue however we are now (2 weeks later) unable to activate additional licences. We've tried everything we can think of.. different systems, different installs (fresh, trial first etc) different locations for the file - but we still get the same error! Any advice (other than email support as we've tried this and not had a reply back yet). Thanks Garry12 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes1Comment