Failed samples in LoadUI

Report your bugs here. We promise to deal with them.

Failed samples in LoadUI

Postby ef130968 » 09 Jul 2010 21:53

Hello,

I have created a simple Testcase in SoapUI (version 3.6-beta1) using a single http get request.
I then used the 'Run this TestCase with LoadUI' button to create a new Project in LoadUI linked to the SoapUI project file.
However, when I click on Run Once in the 'SoapUI sampler' dialog in the LoadUI interface my sample is always registered as failed.
When run directly under SoapUI where I have a single assertion to verify the return code it runs successfully (green icon).
In LoadUI I am using the 'Local (ghost) agent' only and both LoadUI and SoapUI are pointing correctly to each other and both installed on the same PC.

Is there something else I need to do to get this scenario to work in LoadUI (lastest build)?

Thanks,

Eric.
ef130968
Newbie
Newbie
 
Posts: 13
Joined: 09 Jul 2010 21:40

Re: Failed samples in LoadUI

Postby eviware support » 11 Jul 2010 14:01

Hi Eric,

hmm.. can you attach the right-most output terminal of the soapUI Runner to a TableLog component so you can see the actual error message for your TestCase and let us know what you get?

Thanks in advance!

/Ole
eviware.com
eviware support
Administrator
Administrator
 
Posts: 3128
Joined: 16 Feb 2009 10:53

Re: Failed samples in LoadUI

Postby ef130968 » 12 Jul 2010 14:29

I get the following error:

[javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, Missing Response] 0 1278941069668 Cancelling due to failed test step
ef130968
Newbie
Newbie
 
Posts: 13
Joined: 09 Jul 2010 21:40

Re: Failed samples in LoadUI

Postby eviware support » 12 Jul 2010 15:43

ok.. hmm.. are you using an https endpoint?

/Ole
eviware.com
eviware support
Administrator
Administrator
 
Posts: 3128
Joined: 16 Feb 2009 10:53

Re: Failed samples in LoadUI

Postby ef130968 » 12 Jul 2010 15:44

Yes I am.
ef130968
Newbie
Newbie
 
Posts: 13
Joined: 09 Jul 2010 21:40

Re: Failed samples in LoadUI

Postby eviware support » 13 Jul 2010 00:44

Hi,

ok.. and are you using the bundled JRE with the soapUI 3.6-beta1 installation or and old/previous/existing one?

regards!

/Ole
eviware.com
eviware support
Administrator
Administrator
 
Posts: 3128
Joined: 16 Feb 2009 10:53

Re: Failed samples in LoadUI

Postby ef130968 » 13 Jul 2010 14:33

I appear to be using an existing version 6.0_12 of java.
My JAVA_HOME directory points to C:\Program Files\Java\jdk1.6.0_12
Please see the attachment.
Attachments
java.GIF
java.GIF (5.63 KiB) Viewed 954 times
ef130968
Newbie
Newbie
 
Posts: 13
Joined: 09 Jul 2010 21:40

Re: Failed samples in LoadUI

Postby eviware support » 14 Jul 2010 09:07

Hi,

ok.. that could explain this, we know there are SSL issues with the JRE bundled with loadUI.. could you try editing the loadui.bat file in your loadUI folder to use this 1.6.0_12 JRE instead?

regards!

/Ole
eviware.com
eviware support
Administrator
Administrator
 
Posts: 3128
Joined: 16 Feb 2009 10:53

Re: Failed samples in LoadUI

Postby ef130968 » 14 Jul 2010 14:58

Still getting the same error.

My loadui.bat file now looks like this..

@echo off

cd /d %~dp0
echo %CD%

rem set JAVAWS=jre/bin/javaws
set JAVAWS=c:/Program Files/Java/jdk1.6.0_12/jre/bin/javaws

:START

rem ********* run loadui ***********

"%JAVAWS%" loadUI.jnlp
ef130968
Newbie
Newbie
 
Posts: 13
Joined: 09 Jul 2010 21:40

Re: Failed samples in LoadUI

Postby eviware support » 15 Jul 2010 15:10

Hi

Sorry about this, can you try with jre 1.6.0_18? At least we know that this works.

Regards,

/Eric
eviware support
Administrator
Administrator
 
Posts: 3128
Joined: 16 Feb 2009 10:53

Re: Failed samples in LoadUI

Postby ef130968 » 15 Jul 2010 16:28

I now have only jre6v18 installed on my system and I tried a simple test of hitting the 'https://www.google.com' web site.
I'm still getting the same error however. I've attached the console output for you to look at just in case I'm doing something wrong at my end.

Regards,

Eric.
Attachments
jre-6u18 SSL issue.txt
(23.79 KiB) Downloaded 40 times
ef130968
Newbie
Newbie
 
Posts: 13
Joined: 09 Jul 2010 21:40

Re: Failed samples in LoadUI

Postby ef130968 » 20 Jul 2010 17:27

Hello Ole,

Any news on this issue? Are you able to make the SSL access to google work at your end?

Thanks,

Eric.
ef130968
Newbie
Newbie
 
Posts: 13
Joined: 09 Jul 2010 21:40

Re: Failed samples in LoadUI

Postby eviware support » 23 Jul 2010 21:06

Hi Eric,

no news yet, but we are able to reproduce.. which is good in a bad kind of way :-)

I'll let you know as soon as we have something figured out!

regards,

/Ole
eviware.com
eviware support
Administrator
Administrator
 
Posts: 3128
Joined: 16 Feb 2009 10:53

Re: Failed samples in LoadUI

Postby ef130968 » 27 Jul 2010 16:28

Great! That's excellent news!
Look forward to being able to run some load tests soon...

Thanks again,

Eric.
ef130968
Newbie
Newbie
 
Posts: 13
Joined: 09 Jul 2010 21:40

Re: Failed samples in LoadUI

Postby eviware support » 30 Jul 2010 15:29

Hi Eric,

this should be working in the nightly build now, sorry for the long handling time.. let us know how it works for you!

regards,

/Ole
eviware.com
eviware support
Administrator
Administrator
 
Posts: 3128
Joined: 16 Feb 2009 10:53

Next

Return to loadUI Bugs