Quantcast
Channel: New board topics in SmartBear Community
Viewing all 20755 articles
Browse latest View live

Problem with TestComplete locating a pop up

$
0
0

Hi Everyone,

I have been trying to find a solution or even a workaround for an issue with my TestComplete Keyword mode script, which seems unable to find a pop up window.   I actually see the application is launching a pop up with the name "Scheduler" but I believe since I did not create the popup I cannot reference it by that name.


In any event I tried looking at this link but there is still a missing piece for me.

https://support.smartbear.com/testcomplete/docs/testing-with/running/handling-errors/object-not-found/cannot-obtain-window.html

 

I am able to select the window with the object spy.  However, here is what I am doing incorrectly - I try to use setFocus() as a code snippet to change the focus to the popup window... In Object Spy the Window is named "BrowserWindow(1)" but "BrowserWindow(1).setFocus() does not work (not surprisingly).

 

In Selenium there is a way to "getWindowHandles()" to get all open windows and then you switchTo() and reference the window you want.


Here I am at a loss as to how to resolve this... I was trying to even look up how to workaround this by just using JavaScript but again I am trying to locate a window that is open that was launched as a result of a click action in the application I am testing. (in JS it is fairly straightforward if you want to reference a popup you yourself created, but that is not the case here) 

 

My object map has the element but basically I want to switch the focus to the popup - enter some data in input fields on the popup, and then close the popup via click of another button (if I can switch the focus the rest should be easy).

 

Thanks in advance for any suggestions you may have... I attached some screenshots.

 

(~ (TestComplete Version: 12.42.3048.7 x64 | Firefox 52.4.1 (64-bit) ~)


How to get the HTML for the current page

$
0
0

In JScript, how do I retrieve the entire HTML (as a text string) of the current page?  I assume it's some property or method off of page.contentDocument, but I can't find anything that seems to give me the entire document.

 

I want to include the HTML of my page in the body of a REST API call to a service that validates the HTML.

offline api testing

$
0
0

Hi

In my project two types API are available , one is online and one is offline

so can anyone please guide me how i do offline api testing ?

 

Thanks in advance 

 

BR,

DEV

Getting error when adding WSDL

$
0
0

Am getting error when adding SVC in soap UI

WSDLException (at /HTML): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoapCapture.PNG.org/wsdl/}definitions'.

How to run a specific test item with command line?

Unexpected element: OPEN_TAG

$
0
0

I receive this output for one of my projects:

 

    [apply] SoapUI 5.2.1 TestCase Runner
    [apply] 10:35:13,090 DEBUG [WsdlLoader] Getting wsdl component from [http://simulator.template:80/testtools/soapui/null-soapui-project.xml]
    [apply] Error at line 2, column 15
    [apply] org.apache.xmlbeans.XmlException: error: Unexpected element: OPEN_TAG
    [apply] 	at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486)
    ...
    [apply] 	at ch.itsbusiness.testrunner.ITSsoapUItestrunner.main(ITSsoapUItestrunner.java:63)
    [apply] Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 2; columnNumber: 15; Unexpected element: OPEN_TAG
    [apply] 	at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)
    ...
    [apply] 	... 14 more
    [apply] com.eviware.soapui.support.SoapUIException: Failed to load project from file [http://simulator.template:80/testtools/soapui/null-soapui-project.xml]
    [apply] 	at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:318)
    ...
    [apply] 	at ch.itsbusiness.testrunner.ITSsoapUItestrunner.main(ITSsoapUItestrunner.java:63)
    [apply] Caused by: org.apache.xmlbeans.XmlException: error: Unexpected element: OPEN_TAG
    [apply] 	at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486)
    ...
    [apply] 	... 8 more
    [apply] Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 2; columnNumber: 15; Unexpected element: OPEN_TAG
    [apply] 	at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)
    ...
    [apply] 	... 14 more
    [apply] 10:35:13,155 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute request
    [apply] 10:35:13,155 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Sending request: GET /testtools/soapui/null-soapui-project.xml HTTP/1.1
    [apply] 10:35:13,160 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 200 OK
    [apply] 10:35:13,165 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept alive for 5000 MILLISECONDS
    [apply] 10:35:13,172 ERROR [SoapUI] An error occurred [Failed to load project from file [http://simulator.template:80/testtools/soapui/null-soapui-project.xml]], see error log for details
    [apply] 10:35:13,351 ERROR [SoapUI] An error occurred [Failed to load SoapUI project file [http://simulator.template:80/testtools/soapui/null-soapui-project.xml]], see error log for details
    [apply] java.lang.Exception: Failed to load SoapUI project file [http://simulator.template:80/testtools/soapui/null-soapui-project.xml]
    [apply] 	at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:345)
    [apply] 	at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:204)
    [apply] 	at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:139)
    [apply] 	at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:114)
    [apply] 	at ch.itsbusiness.testrunner.ITSsoapUItestrunner.main(ITSsoapUItestrunner.java:63)
    [apply] Result: 255

I haven't been able to find any workable solution. Can anyone please point me in the right direction?

Data model definition?

$
0
0

Why doesn't Swagger Inspector generate the date model definition for API responses? Is it a bug or just not implemented?

 

Correct definition:

 

                "responses": {
                    "200": {
                        "description": "successful operation",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/Pet"
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid status value"
                    }
                },

Swagger Inspector generated code:

 

      responses:
        default:
          description: Definition generated from Swagger Inspector

BUG: Command-line param -P is not considered in Load Script

$
0
0

Version 5.4.0

I'm setting project property when executing from command line -Penvironment=overridden

See attached *.bat file

 

But the passed value is ignored in Load Script

It is considered only in test case

 

See global-groovy.log I'm printing the same property in Load Script and in test case, but the printed values are different.

 

soapUI project is attached as well.


How to auto-create request representation for GET methods?

$
0
0

Hi, I'm just getting started with test coverage in ReadyAPI. I use 2.2.0 at this time. In the representations panel of the request editor, I have enabled the "Auto-Create" option and then I run my request. However, no representation is added to the list. Is there anything else I have to do to generate request representation for GET methods?

 

Thanks in advance.

Unable to start Groovy debugging error keeps showing

$
0
0

Every time I either load my project through Ready API or launch my suites through the test runner an error about debugging is thrown, yet I do not have debugging turned on. Well, as far as I can tell anyway. It's possible there's a setting I've missed. Any help would be greatly appreciated.  

 

The following is the error

 

8:34:36,110 ERROR [errorlog] Unable to start Groovy debugging
18:34:36,110 ERROR [errorlog] java.lang.ClassNotFoundException: com.sun.jdi.request.EventRequest
java.lang.ClassNotFoundException: com.sun.jdi.request.EventRequest
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at com.eviware.soapui.tools.DebugSupport.<clinit>(DebugSupport.java:19)
	at com.eviware.soapui.impl.wsdl.teststeps.registry.GroovyScriptStepFactory.buildTestStep(GroovyScriptStepFactory.java:38)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.createTestStepFromConfig(WsdlTestCase.java:390)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.<init>(WsdlTestCase.java:162)
	at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.<init>(WsdlTestCasePro.java:64)
	at com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.buildTestCase(WsdlTestSuitePro.java:81)
	at com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.buildTestCase(WsdlTestSuitePro.java:1)
	at com.eviware.soapui.impl.wsdl.WsdlTestSuite.<init>(WsdlTestSuite.java:115)
	at com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.<init>(WsdlTestSuitePro.java:44)
	at com.eviware.soapui.impl.wsdl.WsdlProjectPro.buildTestSuite(WsdlProjectPro.java:1127)
	at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:410)
	at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:275)
	at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(WsdlProjectPro.java:192)
	at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:110)
	at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1)
	at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.getWsdlProject(AbstractSoapUIRunner.java:379)
	at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:356)
	at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:97)
	at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:258)
	at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:161)
	at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:81)
	at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:77)
java.lang.ClassNotFoundException: com.sun.jdi.request.EventRequest
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at com.eviware.soapui.tools.DebugSupport.<clinit>(DebugSupport.java:19)
	at com.eviware.soapui.impl.wsdl.teststeps.registry.GroovyScriptStepFactory.buildTestStep(GroovyScriptStepFactory.java:38)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.createTestStepFromConfig(WsdlTestCase.java:390)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.<init>(WsdlTestCase.java:162)
	at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.<init>(WsdlTestCasePro.java:64)
	at com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.buildTestCase(WsdlTestSuitePro.java:81)
	at com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.buildTestCase(WsdlTestSuitePro.java:1)
	at com.eviware.soapui.impl.wsdl.WsdlTestSuite.<init>(WsdlTestSuite.java:115)
	at com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.<init>(WsdlTestSuitePro.java:44)
	at com.eviware.soapui.impl.wsdl.WsdlProjectPro.buildTestSuite(WsdlProjectPro.java:1127)
	at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:410)
	at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:275)
	at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(WsdlProjectPro.java:192)
	at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:110)
	at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1)
	at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.getWsdlProject(AbstractSoapUIRunner.java:379)
	at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:356)
	at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:97)
	at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:258)
	at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:161)
	at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:81)
	at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:77)

 

How to Parse a JSON Response Using Groovy (Examples!)

$
0
0

This code can be copied directly into a Groovy Script test step and run to demonstrate a few ways to get data from a JSON REST response:

 

// Some Examples of How to Parse a JSON Response Using Groovy
// set the example json response string (for a REST Request step assertion, use "def json = messageExchange.response.contentAsString")
def json = '[{"firstName":"Bob","lastName":"Smith","uniqueId":146732,"thisIsAlwaysNull":null,"jobInfo":{"title":"","type":"Peon","code":42},"reviews":[{"date":"2017-06-01","type":"Regular","rating":"Adequate"},{"date":"2017-09-15","type":"Special","rating":"Other"}]},{"firstName":"Jack","lastName":"Jones","uniqueId":746381,"thisIsAlwaysNull":null,"jobInfo":{"title":"Big Boss","type":"Management","code":1},"reviews":[{"date":"2007-11-05","type":"Initial","rating":"Spectacular"}]},{"firstName":"Will","lastName":"Tell","uniqueId":574831,"thisIsAlwaysNull":null,"jobInfo":{"title":"Sweeper","type":"Peon","code":452},"reviews":[]}]'
// parse json string using JsonSlurper - basically converts it to a groovy list
def parsedJson = new groovy.json.JsonSlurper().parseText(json)
// get data
log.info " Count of people returned: " + parsedJson.size()
log.info " Was Will's info returned (exists)? " + ( parsedJson.find { it.firstName == "Will" } != null )
log.info " Was Alice's info NOT returned (not exists)? " + ( parsedJson.find { it.firstName == "Alice" } == null )
log.info " First person's first name: " + parsedJson[0].firstName
log.info " Index of person with ID 746381: " + parsedJson.findIndexOf { it.uniqueId == 746381 }
log.info " Info for person with last name Tell: " + parsedJson.find { it.lastName == 'Tell' }
log.info " Jack's ID: " + ( parsedJson.find { it.firstName == 'Jack' } ).uniqueId
log.info " Jack Jones's job title: " + ( parsedJson.find { it.firstName == 'Jack' && it.lastName == 'Jones' } ).jobInfo.title
log.info " All peon job type people's first names: " + ( parsedJson.findAll { it.jobInfo.type == 'Peon' } ).firstName
log.info " Is Will's thisIsAlwaysNull null? " + ( ( parsedJson.find { it.firstName == 'Will' } ).thisIsAlwaysNull == null )
log.info " Will Tell's had this many reviews: " + ( parsedJson.find { it.firstName == 'Will' && it.lastName == 'Tell' } ).reviews.size()
log.info " Bob's 2017-06-01 review rating: " + ( ( parsedJson.find { it.firstName == 'Bob' } ).reviews.find { it.date == '2017-06-01' } ).rating

Hope this helps someone else!

Why is different the response of a WS with SoapUI that with Windows Foundation Classes Test Client?

$
0
0

I am trying to consume a Web Service.

 

I am using the test Client of Microsoft "WcfTestClient.exe" but what the Web Service shows is not the same of the SoapUI.

 

What can be wrong?

 

I'd be more that GRATEFUL for any hint, advice or instruction.

 

Greetings from México City.

how to dynamically add jsonpath to a test step using groovy script

$
0
0

Hi, 

 

I have written a groovy scripts to dynamically add  Xpath assertion to a soap response teststep by writing a code like below

 

def testst = project.getTestSuiteAt(0).getTestCaseAt(0).getTestStepAt(0)

def assertionxpath = testst.addAssertion("XPath Match")
assertionxpath.name = xpathname
xpathdec = testRunner.testCase.getPropertyValue(xpath)
assertionxpath.setPath(getXapthcontains)
xpathValdec = testRunner.testCase.getPropertyValue(xpathValue)
assertionxpath.setExpectedContent(getXpathValuecontains)
assertionxpath.setAllowWildcards(true)
assertionxpath.setIgnoreNamespaceDifferences(true)

 

 

Similarly  for Json response,  what is the groovy code to add JsonPath Match to a test step. 

do we have similar like above  

def assertionxpath = testst.addAssertion("JsonPath Match") 

assertionxpath.setExpectedContent(getXpathValuecontains)

assertionxpath.setAllowWildcards(true)

 

please help answer. 

 

I have written a dynamic code for each test case to add 1 or 2 or 3 json path based on the count i set in the datasheet.

How to set variable to read data from SQL select statement written in excel file?

$
0
0

In excel file in column named Account i have written the following SQL statement: 

"select top 1 account from TestTable (nolock)".

 

How can i set "account" value that SQL statement returns as variable?

 

${=System.currentTimeMillis()} not working in version 5.4

$
0
0

In order to have random string I have been using ${=System.currentTimeMillis()}. Since I have updated the version of SoapUI from 5.3 to 5.4 this is not working and the request is not sent to the server.

In the SoapUI log it says:

Fri Dec 29 16:27:43 IST 2017:INFO:Error getting response for [ServiceSoapBinding.operationNameSmiley FrustratedoapUI-Project-Name]; null


how to Set soap request properties

$
0
0

Below is the code i am using to connect to my api server, all works fine for other calls, but when it comes to uploading images, it's not working. if i copy the code into SoapUI and run from there, it does work but in SoapUI i have to change the request property "Enable inline files" to true. Does anyone knows how i can pass that property value in my below code

declare @Url varchar(1024),@HttpMethod varchar(10),@ParamsValues varchar(1024),@SoapAction varchar(8000)

DECLARE @t table (ID int, strxml xml)set@Url='https://api.my.com/api.asmx'set@HttpMethod='soap'set@SoapAction='<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:apic="http://apiconn.com"><soap:Header/><soap:Body><apic:AddBook><apic:addbookID>18</apic:addbookID><apic:data>file:C:/temp/Book2.jpg</apic:data><apic:dataType>JPG</apic:dataType></apic:AddBook></soap:Body></soap:Envelope>'if@HttpMethodin('get','GET')and len(@ParamsValues)>0beginset@Url=@Url+'?'+@ParamsValuesend

declare @objint,@response varchar(8000),@Err varchar(2000),@responseText varchar(8000),@status varchar(50),@statusText varchar(1024),@method varchar(10)=(casewhen@HttpMethodin('soap','SOAP')then'POST'else@HttpMethodend)--exec sp_OACreate 'WinHttp.WinHttpRequest.5.1',@objoutexec sp_OACreate 'MSXML2.ServerXMLHTTP',@objoutexec sp_OAMethod @obj,'Open',null,@method,@Url,falseif@HttpMethodin('get','GET')beginexec sp_OAMethod @obj,'send'endelseif@HttpMethodin('post','POST')beginexec sp_OAMethod @obj,'setRequestHeader',null,'Content-Type','application/x-www-form-urlencoded'exec sp_OAMethod @obj,'send',null,@ParamsValuesendelseif@HttpMethodin('soap','SOAP')beginif@SoapActionisnull
        raiserror('@SoapAction is null',10,1)

    declare @host varchar(1024)=@Urlif@host like 'http://%'set@host= right(@host, len(@host)-7)elseif@host like 'https://%'set@host= right(@host, len(@host)-8)if charindex(':',@host)>0and charindex(':',@host)< charindex('/',@host)set@host= left(@host, charindex(':',@host)-1)elseset@host= left(@host, charindex('/',@host)-1)exec sp_OAMethod @obj,'setRequestHeader',null,'Content-Type','text/xml; charset=utf-8'exec sp_OAMethod @obj,'setRequestHeader',null,'Host',@hostexec sp_OAMethod @obj,'setRequestHeader',null,'SOAPAction',@SoapActionexec sp_OAMethod @obj,'send',null,@SoapActionendInsertinto@t(strxml)exec sp_OAGetProperty @obj,'responseXML.xml'--,@responseTextoutexec sp_OAGetProperty @obj,'Status',@statusoutexec sp_OADestroy @obj

declare @X xmlselect@X= strxml from@tselect@Err
SELECT @X
SELECT @status

Important AlertSite Monitoring Network Upgrade Notice

$
0
0

Dear AlertSite Customer,

 

I’m excited to tell you about updates we’ll be making to our monitoring network in the next few months. We will be updating the browser versions for all three DejaClick playback options.

 

  • First up will be Firefox, which will be upgraded from v38 to v52. This update will roll out to our public monitoring network in January of 2018. We will also be updating Firefox to v52 for PrivateNode Server v2.1 and greater* and this update will likely arrive in late January.

  • Our Internet Explorer locations will moving from IE9 to IE11. This update should be complete in February 2018. There is also a likelihood that some location changes my accompany this version upgrade. Stay tuned for more details.

  • Last, but not least, Chrome will be upgrading from v47 to (most likely) v64 (depending on the timing of our final QA, the exact version might swing to v63 or v65). We are targeting February 2018 for this upgrade and will communicate more specific timeframes as soon as possible. As with Firefox, this upgraded Chrome version will also be included in a PrivateNode update for PrivateNode Server v2.1 and greater* in the same general timeframe as the public location rollout.

We will keep you in the loop as these rollouts progress. If you have any questions, please feel free to ask via comments or reach out to me or your customer success manager.

 

    * if your PrivateNode Servers (or InSites) are on a version prior to 2.1, please contact your CSM to learn about upgrade options

 

 

Thanks and Happy New Year!


Denis Goodwin
Director Product Management, AlertSite

Trouble loading XSD-compliant DOM-parser when using testRunner.sh vs. UI

$
0
0

Hi forum

 

I have added a jar-file containing some groovy code that uses a SchemaFactory to validate an xml file using schema 1.1. For that purposes I have also added the special Xerces beta library that supports 1.1. This works fine when I run my test with assertion from the user interface. But - If I try the same test script using testRunner.sh it fails, even though it seems that the extension jars are loaded:

 

16:41:37,723 INFO  [SoapUI] Adding [/Applications/SoapUI-5.4.0.app/Contents/java/app/bin/ext/RDFinedSoapUILib.jar] to extensions classpath

16:41:37,724 INFO  [SoapUI] Adding [/Applications/SoapUI-5.4.0.app/Contents/java/app/bin/ext/saxon9pe.jar] to extensions classpath

16:41:37,724 INFO  [SoapUI] Adding [/Applications/SoapUI-5.4.0.app/Contents/java/app/bin/ext/xercesImpl-xsd11-shaded-2.12-beta-r1667115.jar] to extensions classpath

16:41:37,724 INFO  [SoapUI] Adding [/Applications/SoapUI-5.4.0.app/Contents/java/app/bin/ext/xml-apis-1.4.01.jar] to extensions classpath

16:41:37,955 INFO  [DefaultSoapUICore] initialized soapui-settings from [/Users/runestilling/soapui-settings.xml]

...

16:41:44,715 INFO  [log] Validate begin

16:41:44,758 INFO  [log] No SchemaFactory that implements the schema language specified by: http://www.w3.org/XML/XMLSchema/v1.1 could be loaded

16:41:44,759 INFO  [log] [Ljava.lang.StackTraceElement;@3e2fc448

java.lang.IllegalArgumentException: No SchemaFactory that implements the schema language specified by: http://www.w3.org/XML/XMLSchema/v1.1 could be loaded

at javax.xml.validation.SchemaFactory.newInstance(SchemaFactory.java:215)

at javax.xml.validation.SchemaFactory$newInstance.call(Unknown Source)

 

What could the solution be to this?

 

Regards,

Rune

 

 

Need links used in soapui pro video training

$
0
0

I am going through SoapUI Pro Computer Based Training (CBT)/on demand training, where can i find the url's used in training to practice the same . 

 

could anyone share sample rest url's/ soap projects to practice the same

MockService becomes unstable when deleting Requests in the UI

$
0
0

Whenever I delete requests from a SOAP Interface or REST Method in the UI, while also running a MockService, I soon start seeing errors in the Error Log (org.apache.xmlbeans.impl.values.XmlValueDisconnectedException), and the MockService behavior becomes unstable and unpredictable. For example, it may respond with errors or fail to respond.

 

I encounter this a lot at work computer and related projects (SoapUI OS 5.3.0) and I can easily reproduce the problem at home from an empty project (SoapUI OS 5.4.0). For example:

 

1. Add any WSDL with one or more SOAP operations - SoapUI Tutorial WSDL, perhaps - and a new Request.

2. Create a MockService and add a SOAP operation.

3. Start the MockService.

4. Clone the Request, then delete the clone

5. Send requests to local MockService

 

(may need to repeat steps 4 and 5 just a few times to see the errors in the Error Log).

 

Is there some best practice I am missing? For example, is this happening because I am not always stopping the MockService before making changes to the Interface/Requests in the UI?

 

I think that this problem only occurs when making changes via the UI. I don't run into the same problem when deleting requests via a script while a MockService is running i.e.

WsdlOperation.removeRequest(WsdlRequest request)
Viewing all 20755 articles
Browse latest View live