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

How to execute a SQL query which includes temp table ( creates and inserts ) - JDBC Step

$
0
0

 

I have a JDBC test step with a SQL Query which  has a temp table on it. I am not able to execute this query. Every time i try to execute i get below XML response. Anyone has any idea? Thanks. 

 

 

 

<Results>
<UpdateCount>124</UpdateCount>
</Results>


Bug in SOAP UI 5.3.0 on two monitors response window not opens

$
0
0

I probably found error in soapUI. 

 

SoapUI 5.3.0
Build Date: 20161130-0556

Ubuntu 16.04.1 LTS  / x64

 

1. Problem was present even in version: 4.6.4 so probably from long time.

2. Expected behaviour: ability to open response after mock start and change window to other monitor.

3. In logs it states: Tue Jul 25 16:05:03 CEST 2017:ERROR:An error occurred [illegal component position], see error log for details

Tue Jul 25 16:05:03 CEST 2017:ERROR:java.lang.IllegalArgumentException: illegal component position
java.lang.IllegalArgumentException: illegal component position
at java.awt.Container.addImpl(Unknown Source)
at javax.swing.JLayeredPane.addImpl(Unknown Source)
at javax.swing.JDesktopPane.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at javax.swing.plaf.synth.SynthDesktopPaneUI$SynthDesktopManager.deiconifyFrame(Unknown Source)
at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop.showDesktopPanel(StandaloneDesktop.java:189)
at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:557)
at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:546)
at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:49)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:93)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:96)
at com.eviware.soapui.ui.Navigator$TreeMouseListener$1.run(Navigator.java:370)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(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)

 

Steps to reproduce the problem:

1. Two monitor required.

2. Open soapui in one window

3. Open AnyProject->MockResponses->anyResponse

4. In MockResponses restart mock

5. Move to other monitor soapui(window with anyResponse will disapear and no longer will open). It should open after monitor move.

 

If you need more information let me know. Thanks for all great work.

How to execute test against different environment?

$
0
0

Hi,

I have created a load testing framework in LoadComplete, for environment X,

 

now, I want to run it (measure performance) on environment Y

 

what are the steps I need to do in changing the framework so that test recorded on environment X, can be played back on Y? What are the best practises?

 

Both environments are functionally exactly the same, only hostname (URL) differs.

 

Any advice is welcome.

 

How to generate a XML report after running a project suite?

$
0
0

Hello,

 

 

I would like to generate a final report in XML or HTML after running a project test suite, but when I can clearly see the tests results status.

 

Thank you,

Juscelino

Web Input determine focus and value

$
0
0

Is there a way to determine what input on the page currently has focus through test complete? I havent seen anything thusfar.

 

Also a way to pull the current value of said input.

Deactivated license on `TestServer`, now I cannot reactivate that license anywhere (even TestServer)

$
0
0

My company is trying to figure out how licensing works for TC. We have two licenses, and somehow both seem to be associated with my `TestServer` machine.

 

I looked under Help>Activate/Deactivate licenses and saw that `TestServer` had one license but with "2 seats". Thinking that I found the problem I clicked "deactivate license".

Now, I cannot get back onto TC on `TestServer` because the license expired, yet when I try to activate either license on this machine, I get an error saying something like "This license is already being used by `TestServer`".

What do I do?

 

Unable to use my data driven tests on multiple machines.(How can i make the path of .csv filegeneric

$
0
0

Hi,

I am unable to run my data driven tests on Virtual machine. Since, i created tests earlier on my local machine. The path of .CSV file i am using is pointing to my local machine. How can i make path of the .csv file as more generic. So, that tests can be run on any machine regardless of the path.

 

I am using keyword tests and using Data Driven Loop i have created the tests.

 

Thanks in Advance.

 

Regards,

Feroz

Run project setup script from testsuite setup & teardown script/ setup & teardown script chaining

$
0
0

Hi, 

Is there a way I can get the setup/teardown script of project to run from testsuite setup/teardown script and implement same for testcase. 

I have same setup/teardown script for all levels. If I add setup script for every level testcase, testsuite and project and run it from project, it runs setup script 3 times which is redundant. I want to write setup/teardown scripts for project and chain them for lower levels by referencing/running the project setup script in testsuite/testcase setup script. So irrespective of what level I run , the setup/ teardown script runs only once  


The Community Goes to SmartBear Connect

$
0
0

Hi Team,

 

Are you still considering attending SmartBear Connect, our first user conference?


You are more than welcome to join us - a lot of community leaders and top contributors will be sharing their experience during two days! Besides, you will study interesting use cases and learn major TestComplete features that will help you succeed in your business. And, of course, you will get a certificate to prove your knowledge.

 

Learn more about SmartBear Connect in this short video:

 

I look forward to seeing all of you at the conference in September.

The Community Goes to SmartBear Connect

$
0
0

Hi Team,

 

Are you still considering attending SmartBear Connect, our first user conference?


You are more than welcome to join us - a lot of community leaders and top contributors will be sharing their experience during two days! Besides, you will study interesting use cases and learn major Ready! API features that will help you succeed in your business. And, of course, you will get a certificate to prove your knowledge.

 

Learn more about SmartBear Connect in this short video:

 

I look forward to seeing all of you at the conference in September.

How to rename projects in ReadyAPI?

$
0
0

I am using composite project in ReadyAPI(2.0.0) so that I can share my project among my team members

I am facing an issue with renaming project/TestSuite/Testcase names

-My project name is "Test"

-Save it as composite project(Version 1.3)

-In readyAPI change Project name to "Test1" and save it

-In Project local location I still see project name as  "Test"

 

How can I rename project under composite projects?

 

 

TestComplete 11.20.1491.7- Unable to identify Silverlight controls

$
0
0

I am unable to execute even the TestComplete sample apps. It is unable to identify the controls and merely stating ObjectDoesNotExist. Silverlight extension is installed. I tried processing the .xap file with tcAgPatcher utility too. That is also not working. Any suggestions???

During playback of a recorded script, we observe click action is performed in a different element

$
0
0

During playback of a recorded script, we observe that the click action is performed in a different element than what was intended. The script involves accessing a simple web application with a login screen wherein the user credentials are entered and then login button is pressed. However, during play back, we observe that the page is loaded successfully, the credentials are entered suitably however instead of clicking the login button, it hovers around login and then to another element on top of the screen and then lands in a hyperlink element which is then invoked. This results the script to fail. request your advice to help resolve this problem. Many Thanks,

Is there's a way to write log output to the txt file in Groovy Script test step?

$
0
0

Is there's a way to write log output to the txt file in Groovy Script test step?

SOAPUI 5.3.0 | Otracle10g xe | Can’t get the connection for specified properties

$
0
0

Can’t get the connection for specified properties;java.sql.SQLException:invalid arguments in call as shown in attached screenshot.

 

Environment And Setup Details Mentioned Below:

Machine-Windows 7 64 bit

Soap UI Version- 5.3.0

Oracle DB- 10g Express Edition

Note- I have added ojdbc14.jar  at below specified locations(tried both way i.e added at 1 location at a time and both the location at the same time) :

C:\Program Files (x86)\SmartBear\SoapUI-5.3.0\bin\ext - added ojdb14.jar here

C:\Program Files (x86)\SmartBear\SoapUI-5.3.0\lib- added ojdb14.jar here

 

Kindly guide me how to resolve this issue, I have searched a lot on internet but did not find any solution


Status 93 errors triggered by an invalid SSL certificate chain

$
0
0

It is sometimes the case that a site's SSL certificate does not have a valid certificate chain setup to the root certificate authority. Without a valid cert chain, not all browsers will be able to validate the authenticity of the certificate and the browser will prompt the user to accept and store the certificate locally in browser if the user deems it valid.

 

When this happens in DejaClick, an Dialog Prompt is generated which triggers a 93 error for 'INVALID CERTIFICATE'. You can see the type of prompt presented in the Diagnostics view of the test run, by hovering over the Message to see the tool-tip

ST93-1.jpg

 

In DejaClick, make sure you are in Advanced Display Mode to see the Dialog Prompt property.

ST93-2.jpg

 

On the event triggering the error, add a CERT_INVALID Dialog Prompt. Make sure to set the option to Permanently Store Certificate and set the repeat count to 2. Save and replay the script once locally. Then upload it in DejaClick to replace the original. If the dialog prompt is presented the script will handle it. If there is no prompt the script plays through normally.

ST93-3.jpg

 

The error can be sporadic. This is because the each server at each location has multiple browser profiles. If the test is triggered from a profile that already has the certificate stored the prompt will not occur. It will only occur if a test is run from a browser profile that does not have the certificate stored prior and tries to validate it through the CA. 

SoapUI: getting a 404 not found even if my request works in browser

$
0
0

I have a problem with some requests that returns a 404 in SoapUI but when I try them in the browser it works! Is there any reason for that to happen? Sorry I'm new to API testing

adding hours to the present date with groovy

$
0
0

Hi Following is my code to add days to the present date, How can i add hours to the present date instead of days 

 

 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
def today = new Date()
def laterDate = today + 29 // adding 29 days
def dda = laterDate.format("yyyy-MM-dd 17:00:00")
log.info dda
assert json.expirationDate == dda

Collab 11 SEVERE: Exception News feed

$
0
0

we're running collab 11 on a RHEE server with not internet access.  I noted that we are getting numerous exceptions in the error.log.   Anyone know how to address this?

 

May 26, 2017 8:30:30 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.smartbear.ccollab.datamodel.client.unversioned.INewsData com.smartbear.ccollab.datamodel
.client.unversioned.IUnversionedClientApi.getNewsData() throws com.smartbear.ccollab.service.api.v7001.ServiceRuntimeException' threw an unexpected exception: java.lang.Illegal
ArgumentException: unexpected url:
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:415)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:605)
at com.smartbear.ccollab.rpc.RpcGwtServlet.processCall(RpcGwtServlet.java:274)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.smartbear.ccollab.AuthTicketFilter.doFilter(AuthTicketFilter.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.smartbear.ccollab.CollabCleanupFilter.doFilter(CollabCleanupFilter.java:30)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at com.smartbear.ccollab.auth.AuthTicketValve.invoke(AuthTicketValve.java:32)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: unexpected url:
at com.squareup.okhttp.Request$Builder.url(Request.java:163)
at com.smartbear.ccollab.datamodel.client.unversioned.impl.UnversionedServerDMFactory.newNewsData(UnversionedServerDMFactory.java:406)
at com.smartbear.ccollab.service.impl.unversioned.UnversionedClientApiImpl.getNewsData(UnversionedClientApiImpl.java:468)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.smartbear.ccollab.rpc.RpcGwtServlet$GwtInvocationHandler.invoke(RpcGwtServlet.java:423)
at com.smartbear.util.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:28)
at com.sun.proxy.$Proxy8.getNewsData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)

MockService out of heap memory when deployed as War

$
0
0

I created a mock service that reads large XML files, replaces a ${content} token and sends a response.  Each file is about 6mb.

 

I increased my heap size in SoapUI and it works fine in there.  Memory increases until the heap max, but it continues to run without error.

 

If I deploy the same mock service as a war and run it in Tomcat with catalina_opts set to double the heap size, it quickly runs out of memory.  

 

I have already removed all log.info statements from the script.  How can I fix the memory leak?

 

I can't send the entire script at the moment, but the meat of it reads a value from the request and then finds a file with that name:

 

 

def projectPath = new File(mockOperation.mockService.project.path).parent
def fileName = projectPath + "${File.separator}dataFiles${File.separator}${requestValue}.xml"
def file = new File(fileName)

if (file.exists()) {
    context.content = file.text    return "FromFile"
} else {  return "Empty"
}

 

Viewing all 26529 articles
Browse latest View live