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

Maven + SoapUI ClassNotFoundException(com.microsoft.sqlserver.jdbc.SQLServerDriver)

$
0
0

Hi Guy's, need a little bit of help with Maven and SoapUI. The long-term plan is to integrate my SoapUI tests with Jenkins, however, i'm unfortunately falling down at the first hurdle, when getting my tests to run with Maven. Whenever I run my SoapUI tests via maven on the command line I keep getting the following error: 

 

2017-09-20 10:03:06,977 ERROR [errorlog] java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at groovy.sql.Sql.loadDriver(Sql.java:701)
at groovy.sql.Sql.newInstance(Sql.java:483)
at groovy.sql.Sql$newInstance.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at Script1.run(Script1.groovy:13)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:100)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:154)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:239)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:52)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:152)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:47)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:139)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

 

Now, As far as I'm aware I have included all the necessary dependencies. Here is a copy of my pom file. It's a simple one, I've borrowed from the internet and tweaked the usual bit.

 

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.smartbear.samples</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven 2 SoapUI Sample</name>
<url>http://maven.apache.org</url>
<pluginRepositories>
<pluginRepository>
<id>SmartBearPluginRepository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.0.0</version>
<configuration>
<outputFolder>logs</outputFolder>
<printReport>true</printReport>
<junitReport>true</junitReport>
<projectFile>Waste-Expert-Admin-Service-API-soapui-project.xml</projectFile>
</configuration>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.31</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

 

Can anybody spot any obvious mistake I've made? have I missed something?


How to fix error message for missing file when I am creating a new test case?

$
0
0

Greetings,

 

I keep getting an error when I try adding a new test case item:

 

Image 1.png

 

The error shows the new file as missing and it appears that this is because it adds a parent directory to the new test case with the same name as the new test case. Is there any known solution to this issue?

 

Thank you,

 

Scott

converting datetime to unix timestamp

$
0
0

i believe i'm just missing something, it should be easy.....

i'm just trying to convert a human readable datetime to unix timestamp

 

2017-09-08 14:00:00+02               to                 1504872000

 

the thing is, i use a testcase variable in a rest request: ${#TestCase#pvr_program_id}} but no matter how did i convert it to date and then tried to format it, it never worked....

 

and then i've tried to convert current datetime to unixtime but it failed to... as if soapui/groovy doesn't know what Unix is....

${=new Date().format("U")}

org.apache.commons.lang.NullArgumentException: schemeName must not be null.

$
0
0

I'm trying to call a simple GET from a simple Swagger defined API and ReadyAPI (2.0.0) does not even make the call, logging this error in the log:

 

  • org.apache.commons.lang.NullArgumentException: schemeName must not be null.
  • at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUISchemePortResolver.resolve(HttpClientSupport.java:426)
  • at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpClient.getDefaultPort(HttpClientSupport.java:316)
  • at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.getDefaultPort(HttpClientSupport.java:598)
  • at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.getDefaultHttpPort(HttpClientRequestTransport.java:491)
  • at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.captureMetrics(HttpClientRequestTransport.java:485)
  • at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:284)
  • at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:125)
  • at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  • at java.util.concurrent.FutureTask.run(Unknown Source)
  • at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  • at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  • at java.lang.Thread.run(Unknown Source)

I guess there is something ReadyAPI is expecting from Swagger, but it's hard to what/where. I've attached the Swagger JSON (generated from Swagger YAML).

Run Particular Test Steps on different suite in the Same Project

$
0
0

Hi ,

       I want to run particular test steps. I am getting null value when I run this code under the same project but different suite. My requirement is run specific test steps.

 

Project

Suite1

        Test Cases1

         Test Steps 1(Here is my Groovy code and needs to run Test Steps 2 under Suite2

 

Suite2

 

  Test Cases2

         Test Steps 2(This needs to be run)

 

def tCase = testRunner.testCase.testSuite.testCases["TC1_DDP_New_to_HSD_SIK"]

def tStep = tCase.testSteps["getTestCasesToExecute"]
log.info tStep
tStep.run(testRunner, context)

 

 

Could any one assist me Please

 

Thanks

Amy

 

 

how to do transfer property from JSON without brackets?

$
0
0

in property transfer step i'm using jsonpath to extract a value from response

$.entities[-1:].id

and exporting it to the property on testcaselevel

but instead of getting a value like 123456 i'm getting [123456]

is there a way how to do the property transfer without brackets? 

sure i can remove it later, but why should i?

Technical Benchmarks to check Location Status

$
0
0

     If you notice performance issues in reports from a single location, you can check the location's performance against other sites to see if others are experiencing the same issues you are in that location. Running a Technical Benchmark report can help with this. These reports compare your site's performance against major internet sites like Yahoo and Amazon, tested from the same location over the same time frame.

 

    To run the report, select Reports - Performance Reports from the AlertSite console. (this is currently only available in the AlertSite 1.0 console) Choose a report option. Only Detail, Hourly Summary, or Daily Summary reports include the Technical Benchmarks option. Technical Benchmark reports can only be run against a single device and a single location as well,  so select a device from the list of monitors, and a location below.  Make sure to check Report Details and check the Technical Benchmarks checkbox as well.

 

   The Technical Benchmark windows appears on the right when the checkbox is selected. In the bottom window, select the benchmark sites you want to report against. You can report against a total of 7 sites in a single report. (you can also run benchmarks against your other sites in the window above the benchmark sites). Select a Date Range and click the Create Report in the top right corner.

 

Benchmarks1.jpg

 

At the top of the report you see the graph comparing your site with the Benchmark Sites selected, as well as the Load Analysis details. This can give you a quick view of  availability compared to your own site's performance, as well as performance,

Benchmarks2.jpg

 

If you scroll down in the report you can see the details of the test runs as well. If response Times vary you may get an indication of performance issues occurring across the board from the location as well. If they are consistent, it's a good indication that the location itself is not having any issues, and further investigation into your own site is warranted.

Benchmarks3.jpg

 

 

If ALL of the Benchmark sites are having the same issue it is a good indication that the vendor at the location, or the backbone itself, is or was having issues in the time frame indicated. If only SOME of the benchmark sites have the the same issue, it is likely a peering issue of the backbone with certain providers, and not an overall location issue. In either case, issues with benchmarks sites that parallel your own site's performance issues are a good indication that visitors to your site routing to you in a similar way from that location, would have experienced the same issues. If NONE of the benchmark sites had the same issues your site did during the time frame indicated it is a good indication that the issue is isolated to just your site. Further investigation to the site itself is warranted in this case.

 

SOAPUI - Groovy : Get parent names / children names / nodes values from XML response

$
0
0

Hi,

 

I am parsing an xml response with SOAPUI and using a Groovy script like this.

The goal of this script is to get children nodes names and values in xml response.

 

 

def parsing = """<Body>                                                                   <parent_Node_A>value_A</parent_Node_A>                                       <parent_Node_B>                                                                <children_Node_B1>value_B1</children_Node_B1>
<children_Node_B2>value_B2</children_Node_B2>
</parent_Node_B><parent_Node_C>value_C</parent_Node_C><parent_Node_D> <children_Node_D>value_D</children_Node_D></parent_Node_D><parent_Node_E>value_E</parent_Node_E></Body> """ def parsingResult = new XmlSlurper().parseText(parsing) def ArrayList_parsing = [] def resultsParsing resultsParsing = {output,node -> node.children().each{resultsParsing(ArrayList_parsing,it) } if (node.children().size()==0) output << node.name()+'='+node.text() } parsingResult.'**'.findAll { it.name() == 'Body' }.each { resultsParsing(ArrayList_parsing,it) } for (int i=0;i<ArrayList_parsing.size();i++) { log.info ArrayList_parsing[i] }

 

 

This is almost what I want !

The output of the code above is : 

 

 

parent_Node_A=value_A
children_Node_B1=value_B1
children_Node_B2=value_B2
parent_Node_C=value_C
children_Node_D=value_D
parent_Node_E=value_E

 

 

I have now to modify my code to have the parent name of each children but I don't get it Smiley Sad

 

 

Body/parent_Node_A=value_A
Body/parent_Node_B/children_Node_B1=value_B1
Body/parent_Node_B/children_Node_B2=value_B2 Body/parent_Node_C=value_C Body/parent_Node_D/children_Node_D=value_D Body/parent_Node_E=value_E

 

If anyone of you could help me ?

 

Many thanks in advance.

 

BR,

Anthony.

 

 


TestSteps not executing in correct order

$
0
0

I have a pretty simple test case that has a Groovy driver (step 1) and one request step (step 2). The driver reads a file and runs the request step once for each line in the file. However, when I run the test case, I see the request step execute first, then the Groovy step, then the request step again (for a file with only one line).

 

If I try a file with two lines, the TestCase log reads
step 1 [request step]

step 2 [request step]

step 3 [driver step]

step 4 [request step]

 

What on earth is going on? This is v5.0.0.

Test Steps issue

$
0
0

Hi ,

              I need to execute a particular Test Case Step(testCaseToExecute) from this code. When I tried below code I am getting error and Page is loading only. Would you please some one assist me on this.

 

def project = workspace.createProject(projectName,new File("C:\\Temp\\" + projectName + ".xml"));
WsdlInterfaceFactory.importWsdl(project, 'http://www.webservicex.com/globalweather.asmx?WSDL', true)
def suite = project.addNewTestSuite("TestSuite")
tc = suite.addNewTestCase("TestCase")

groovyScript = tc.addTestStep( GroovyScriptStepFactory.GROOVY_TYPE, "testCaseToExecute" )

def operation = project.getInterfaceAt(0).getOperationList()[0]

def factory = new WsdlTestRequestStepFactory()

 config = factory.createConfig(operation,"SOAPRequest")

testStep = tc.addTestStep(config)

def project = testRunner.testCase.testSuite.project
testRunner.runTestStep( project.testSuites['TestSuite'].testCases['TestCase'].testSteps['getTestCasesToExecute'] )

 

 

 

 

Regards,

Steve

 

How to check if a menuItem is visible?

$
0
0

I am currently testing a WPF application and getting all menus and submenus.

However, when I use the WPFmenu.Items property, it is giving me all submenus which are not visible on the actual GUI.

 

Is there a way to check whether a menuItem is visible? 

I have checked for Enabled property and it doesn't work as I expect it to.

 

# menuItem - TestComplete MenuItem Object

# menuObj - User-defined class rssMenu 

def getSubMenuRecursive(menuItem,menuObj):
     # If a menu, has a submenu get the number of submenus
     if (menuItem.SubMenu != None):
          subMenuCount = menuItem.SubMenu.Count
     # else return, there is nothing to recurse
     else:
          subMenuCount = 0
     # Recurse to find all the linked subMenus
     for i in range(subMenuCount):
          subMenuItem = menuItem.SubMenu.Items[i]
          if (subMenuItem.Enabled == True):
          subMenuItemObj = rssMenu(subMenuItem,menuObj)

          # I want a submenu to be added to menuObj.submenu[] only when it is visible on the application
          if (isVisible(subMenuItem) == True): 
               subMenuItemObj = getSubMenuRecursive(subMenuItem,subMenuItemObj)
               menuObj.addSubMenu(subMenuItemObj)


     return menuObj

 

---------------------------------

# User-defined rssMenu

class rssMenu():

     def __init__(self,obj = None,parent = None):
     self.name = obj.Caption
     self.parent = parent
     self.subMenu = []

     def addSubMenu(self,obj):
          self.subMenu.append(obj)
          return

 

loadrunner.bat is throwing error while running through STAF

$
0
0

i was using SoapUi loadtest to run my PSR tests. Also i was using STAF to distribute the load on remote machines.

I was trying to fire the below command to fire the load test on remote machine. but somehow its not triggering the load test.

 

 

cmd:-

STAF <<RemoteMachine>> PROCESS START SHELL COMMAND "C:\Program Files\SmartBear\SoapUI-5.3.0\bin\loadtestrunner.bat -s PSRTests -c verifyTransaction_POST_valid -l LoadTest -r -f C:\Logs\clm-pun-025066.bmc.com \DRCSV-1064 "C:\Api_Proj\PSR_CSLicensingAndMetering-soapui-project.xml" -PTCID=DRCSV-1064 -PThreadStarting_CTR=500 -PLMEndpoint=https://10.129.114.89:8443/ -n 500" STDERRTOSTDOUT RETURNSTDOUT WAIT

 

ConsoleLog:- I made on the echo for debugging but found that the final call in loadrunner.bat""%JAVA%" %JAVA_OPTS% com.eviware.soapui.tools.SoapUILoadTestRunner %*" is not getting triggered


C:\Program Files\SmartBear\SoapUI-5.3.0\bin>set CLASSPATH=C:\Program Files\SmartBear\SoapUI-5.3.0\bin\soapui-5.3.0.jar;C:\Program Files\SmartBear\SoapUI-5.3.0\lib\*

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>"C:\Program Files\SmartBear\SoapUI-5.3.0\bin\..\jre\bin\java" -cp "C:\Program Files\SmartBear\SoapUI-5.3.0\bin\soapui-5.3.0.jar;C:\Program Files\SmartBear\SoapUI-5.3.0\lib\*" com.eviware.soapui.tools.JfxrtLocator 1>C:\Users\ADMINI~1\AppData\Local\Temp\jfxrtpath

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>set /P JFXRTPATH= 0<C:\Users\ADMINI~1\AppData\Local\Temp\jfxrtpath

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>del %TEMP%\jfxrtpath

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>del C:\Users\ADMINI~1\AppData\Local\Temp\jfxrtpath

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>set CLASSPATH=%CLASSPATH%;%JFXRTPATH%

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>set CLASSPATH=C:\Program Files\SmartBear\SoapUI-5.3.0\bin\soapui-5.3.0.jar;C:\Program Files\SmartBear\SoapUI-5.3.0\lib\*;C:\Program Files\SmartBear\SoapUI-5.3.0\jre\lib\jfxrt.jar

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>
C:\Program Files\SmartBear\SoapUI-5.3.0\bin>rem JVM parameters, modify as appropriate

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>rem JVM parameters, modify as appropriate

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>set JAVA_OPTS=-Xms128m -Xmx10224m -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\" -Dsoapui.threadpool.max=1500

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>set JAVA_OPTS=-Xms128m -Xmx10224m -Dsoapui.properties=soapui.properties "-Dsoapui.home=C:\Program Files\SmartBear\SoapUI-5.3.0\bin\\" -Dsoapui.threadpool.max=1500

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>
C:\Program Files\SmartBear\SoapUI-5.3.0\bin>if "%SOAPUI_HOME%\" == "" goto START

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>if "C:\Program Files\SmartBear\SoapUI-5.3.0\bin\\" == "" goto START

C:\Program Files\SmartBear\SoapUI-5.3.0\bin> set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext"

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>set JAVA_OPTS=-Xms128m -Xmx10224m -Dsoapui.properties=soapui.properties "-Dsoapui.home=C:\Program Files\SmartBear\SoapUI-5.3.0\bin\\" -Dsoapui.threadpool.max=1500 -Dsoapui.ext.libraries="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\ext"

C:\Program Files\SmartBear\SoapUI-5.3.0\bin> set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners"

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>set JAVA_OPTS=-Xms128m -Xmx10224m -Dsoapui.properties=soapui.properties "-Dsoapui.home=C:\Program Files\SmartBear\SoapUI-5.3.0\bin\\" -Dsoapui.threadpool.max=1500 -Dsoapui.ext.libraries="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\ext" -Dsoapui.ext.listeners="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\listeners"

C:\Program Files\SmartBear\SoapUI-5.3.0\bin> set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions"

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>set JAVA_OPTS=-Xms128m -Xmx10224m -Dsoapui.properties=soapui.properties "-Dsoapui.home=C:\Program Files\SmartBear\SoapUI-5.3.0\bin\\" -Dsoapui.threadpool.max=1500 -Dsoapui.ext.libraries="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\ext" -Dsoapui.ext.listeners="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\listeners" -Dsoapui.ext.actions="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\actions"

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>
C:\Program Files\SmartBear\SoapUI-5.3.0\bin>Smiley FrustratedTART
C:\Program Files\SmartBear\SoapUI-5.3.0\bin>
C:\Program Files\SmartBear\SoapUI-5.3.0\bin>rem ********* run soapui loadtest runner ***********

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>rem ********* run soapui loadtest runner ***********

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>echo %JAVA%

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>echo C:\Program Files\SmartBear\SoapUI-5.3.0\bin\..\jre\bin\java
C:\Program Files\SmartBear\SoapUI-5.3.0\bin\..\jre\bin\java

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>echo %JAVA_OPTS%

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>echo -Xms128m -Xmx10224m -Dsoapui.properties=soapui.properties "-Dsoapui.home=C:\Program Files\SmartBear\SoapUI-5.3.0\bin\\" -Dsoapui.threadpool.max=1500 -Dsoapui.ext.libraries="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\ext" -Dsoapui.ext.listeners="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\listeners" -Dsoapui.ext.actions="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\actions"
-Xms128m -Xmx10224m -Dsoapui.properties=soapui.properties "-Dsoapui.home=C:\Program Files\SmartBear\SoapUI-5.3.0\bin\\" -Dsoapui.threadpool.max=1500 -Dsoapui.ext.libraries="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\ext" -Dsoapui.ext.listeners="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\listeners" -Dsoapui.ext.actions="C:\Program Files\SmartBear\SoapUI-5.3.0\bin\actions"

C:\Program Files\SmartBear\SoapUI-5.3.0\bin>
C:\Program Files\SmartBear\SoapUI-5.3.0\bin>More?
}
]
}

 

-------------------------------------------------------------------------------------------------------------

 

But the below command works fine in same machine without staf. Any solution on this?

 

C:\Program Files\SmartBear\SoapUI-5.3.0\bin\loadtestrunner.bat -s PSRTests -c verifyTransaction_POST_valid -l LoadTest -r -f C:\Logs\clm-pun-025066.bmc.com \DRCSV-1064 "C:\Api_Proj\PSR_CSLicensingAndMetering-soapui-project.xml" -PTCID=DRCSV-1064 -PThreadStarting_CTR=500 -PLMEndpoint=https://10.129.114.89:8443/ -n 500"

 

 

 

 

SoapUI Certification expiry

$
0
0

Hi,

I was wondering how long the SoapUI certification is valid for, and if it expires, is there is some kind of path to recertification?Anyone who is currently certified, does your cert have an end date?

Can not downalod a free trial version

$
0
0

Hello,

 

I am not able to do a free trial downalod and play with it

clicking on 'free trail' option always re-directing to 'request-demo' page

can't I download free tial and play with it to know more about the product ?

 

Thanks

Musaffir

regular expression in name mapping template

$
0
0

Hi,

 

I need help to create templates using regular expressions as a match in the active property; in particular I need:

 

1) template A, active property WpfControlAutomationId, value= "match every object with AutomationId non null or empty or whitespace" (C# would be !string.IsNullOrWhiteSpace(value))

 

2) templates B/C/D/...,

  • active property ClrFullClassName, value= "Control specific type" (Button/TextBox/...)
  • active property WpfControlAutomationId, value= "AutomationId is null or empty or whitespace"

 

This way it should match every object with AutomationId with the first template, every other with the type specific template.

 

For the first match I tryed different regex: .+ / (.)+ / ^(?!\s*$).+

For the second: ^$

It seems that it doesn't work anyway, in particular I get a match with the first template for every object or for none of them.

 

Thank you!


A very unusual behaviour

$
0
0

Hi all

 

I am experiencing a weired behaviour here.

 

My test item is a ComboBox for which I used Operation as 'Keys'. If I execute this for the first time, it keys the required value in the combobox however when I execute the same for the second time, the test is passed with the message in log as 'Keyboard input' however no value is actually input in the combobox.

I then changed the operation to 'Click' and my test failed with following message in the log " window is invisible and thus cannot be activated"................Any thoughts as to what's causing this behaviour ? Thanks

 

 

Transfer multiple xml nodes form Response to different SOAP request

$
0
0

Hello,

I have problem with all "exportItems" nodes form SOAP respond

<exportItems><ns2:id>0</ns2:id><ns2:assetLogicalPath>DcNew</ns2:assetLogicalPath><ns2:type>DOCUMENT_CLASS</ns2:type><ns2:includeSubFolders>false</ns2:includeSubFolders></exportItems><exportItems><ns2:id>0</ns2:id><ns2:assetLogicalPath>DcNew2</ns2:assetLogicalPath><ns2:type>DOCUMENT_CLASS</ns2:type><ns2:includeSubFolders>false</ns2:includeSubFolders></exportItems><exportItems><ns2:id>0</ns2:id><ns2:assetLogicalPath>DcNew3</ns2:assetLogicalPath><ns2:type>DOCUMENT_CLASS</ns2:type><ns2:includeSubFolders>false</ns2:includeSubFolders></exportItems>

 to request:

 

<prom:CreateExportAssetsJob><com:authContext><com:UsernameToken><com:domain><com:ident><com:name>${#TestSuite#name}</com:name></com:ident></com:domain><com:userId>${#TestSuite#userId}</com:userId><com:password>${#TestSuite#password}</com:password></com:UsernameToken></com:authContext><exportItems><mod:id>0</mod:id><mod:assetLogicalPath>DcNew</mod:assetLogicalPath><mod:type>DOCUMENT_CLASS</mod:type><mod:includeSubFolders>false</mod:includeSubFolders></exportItems><exportDirectory>${#TestSuite#exportDirectory}</exportDirectory></prom:CreateExportAssetsJob>

 

and I'm stuck, I worte groovy script but he only transfer the first "exportItems" but i need to transfer all of then can someone help me with that:

 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
def child = groovyUtils.getXmlHolder("getAssetDependencies#Response")
def holder = groovyUtils.getXmlHolder("createExportAssetsJob#Request")
def node = holder.getDomNode("//exportItems")
node.appendChild(node.getOwnerDocument().importNode(child.getDomNode("//exportItems"), true))
holder.updateProperty()

 

maven with soapui build execution need to maven report

$
0
0

Hi All,

 

Am new to maven with soapui,

 

I am looking for a solution to run the soapui build in maven using eclipse as well need maven pdf report.

 

It's possible if yes please guide me to achieve the execution

 

1. Need to move my soapui build(Functional + DB Testcase) in my maven project?

2.what are the plugin is required to config in pom .xml while using soapui 5.3.1/ soapui pro?

3.while execution the soapui build in maven project it's possible to get the maven report or junit report and pie chart report too?

4.it's possible to convert in my automation report in pdf format?

5.need to attach the pdf report in jenkins

 

Am looking forward your valuable import it would be more helpful to achieve my project completion

 

Step done:

 

soapui version 5.3.1

 

1.Soapui Project name: testmavenproject.xml (which has db and functional test cases)

 

2.maven project created : 

 

pom.xml file

 

project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.codebind</groupId>
<artifactId>maven-soapui</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>

</project>

 

3.Jenkins job created

 

 

 

SoapUI Error Displaying When Creating Report: Failed to generate a report. Make sure the property..

$
0
0

Hi all, 

 

I am receiving this error when trying to generate a report on a test case: "Failed to generate a report. Make sure the property "Custom report library" is set to the folder where the report templates are stored (by default, /bin/reports)."

 

I was receiving this error before changing any settings. After seeing it the first time, I set a path for reports within the Preferences/ReadyAPI/Custom Report Library settings and I am still receiving the same error. Any suggestions on how to set this property if the Custom Report Library settings was not the correct place?

is this another Loadcomplete bug?

$
0
0

when using the search function, it can only find matching results on detailed (user / iteration) level.

 

However this function would be much more helpfull if the whole hierarchy (Master -> Virtual User Group -> User001,002,003 etc) is searchable. Currently this is not.

 

Eg.

if you enter "text to search for" it only searches within selected user / iteration, if you select the top node (Master), it can't find the same text if you activate the search function.

 

Is this a LoadComplete bug?

 

2017-09-21_17-26-36.png

Viewing all 20755 articles
Browse latest View live