header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
November 22, 2008, 03:00:36 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Latest posts of: omatzura
Welcome, Guest. Please login or register.
November 22, 2008, 03:00:36 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

  Show Posts
Pages: 1 2 [3] 4 5 ... 42
31  soapUI / soapUI / Re: Creating properties at the Test Case level, initialized by Groovy scripts on: October 21, 2008, 06:50:04 am
Hi!

soapUI requires a scope-prefix currently unless you want to access global properties, using

${#TestCase#xactId}

should work!

Let me know..

/Ole
eviware.com
32  soapUI / soapUI / Re: Creating properties at the Test Case level, initialized by Groovy scripts on: October 18, 2008, 12:20:39 am
Hi,

hmm.. I've created a simple TestCase with the following setup Script:

testRunner.testCase.setPropertyValue( "testIp", String.valueOf( Math.random() ))

and then in my only request in the TestCase I use

...
<someElement>${#TestCase#testIp}</someElement>
...

which works just fine.. can you attach or send me your project so I can have a look?

regards!

/Ole
eviware.com
33  soapUI / soapUI / Re: Creating properties at the Test Case level, initialized by Groovy scripts on: October 16, 2008, 10:15:03 pm
Hi!

If I understand you correctly, shouldn't your xml be

<ws:sentTime>${#TestCase#CurTime}<ws:sentTime/>
<ws:startTime>${#TestCase#CurTime}<ws:startTime/>
<ws:endTime>${#TestCase#CurTime}<ws:endTime/>

?

regards!

/Ole
eviware.com
34  soapUI / soapUI / Re: java.net.SocketTimeoutException: Read timed out on: October 16, 2008, 05:08:02 pm
Hi,

hmm.. this all sounds ok to me.. how are you loading the WSDL, from file or via URL?

regards,

/Ole
eviware.com
35  soapUI / soapUI / Re: java.net.SocketTimeoutException: Read timed out on: October 16, 2008, 09:19:31 am
Hi,

sounds like you aren't getting a reply from the service, is the host/path you are calling the same as the WSDLs?

/Ole
eviware.com
36  soapUI / soapUI / Re: Creating Propertiues at the Project level... on: October 16, 2008, 09:17:34 am
Hi!

please try

${#Project#test.IMDBurl}

(The "#Project#' part tells soapUI in which scope to look for the property..)

does that help?

regards,

/Ole
eviware.com
37  soapUI / soapUI / Re: Interpreting Spaces as against null in String input on: October 16, 2008, 09:10:00 am
Hi,

sorry for the delay on this.. could you please try the 2.5 beta version (or the latest build from http://www.eviware.com/nightly-builds) to see if this works better now?

regards!

/Ole
eviware.com
38  General Category / eviware general / Re: Need to run the test cases for multiple times. on: October 15, 2008, 09:15:24 pm
Hi!

please try using

testRunner.runTestStepByName( "getCasesBySubject - Request Transformation Failure -101"] )

instead, let me know!

/Ole
eviware.com
39  General Category / eviware general / Re: Need to run the test cases for multiple times. on: October 15, 2008, 12:09:47 pm
Hi Krish,

sorry, I was a bit fast in publishing this; you will need to get the latest nightly-build to have this method working correctly.. get it from http://www.eviware.com/nightly-builds/2008-10-15/pro/

regards!

/Ole
eviware.com
40  General Category / eviware general / Re: Need to run the test cases for multiple times. on: October 14, 2008, 09:42:00 pm
Hi,

The problem is the testRunner.gotoTestStepByName method which does not actually execute that TestStep but transfer control to it once the current script finishes.. either you should use the

Code:
testRunner.runTestStep( testRunner.testCase.testSteps["getCasesBySubject - Request Transformation Failure -101"], true, true )

method (new in 2.5), or maintain a counter in the context for keeping track of the number of loops.. ie create a script after the request containing

Code:
if( context.counter == null )
   context.counter = (int) 5

if( context.counter > 0 )
{
    context.counter--
    testRunner.gotoStepByName( "getCasesBySubject - Request Transformation Failure -101" )
}

Here the script first checks for a counter and initializes it if missing, the counts down a loops back to the request for 5 times..

Hope this helps!

regards,

/Ole
eviware.com
41  soapUI / soapUI / Re: proxy settings excludes on: October 07, 2008, 09:02:23 pm
Hi,

sorry, this isn't currently possible. Please add a feature request at sourceforge if you want!

regards,

/Ole
eviware.com
42  soapUI / soapUI / Re: Interpreting Spaces as against null in String input on: October 07, 2008, 01:28:13 pm
Hi!

hm.. how do you mean? Are you getting some kind of error message?

regards!

/Ole
eviware.com
43  soapUI / soapUI / Re: Unable to get response from webservice URL on: October 07, 2008, 12:52:23 pm
Hi!

hmm.. sounds strange enough.. can you try running your requests through the SOAP Monitor in soapUI (or any other network monitoring tool) to see what is actually being sent/received?

regards!

/Ole
eviware.com
44  soapUI / soapUI / Re: Workings of run TestCase step on: October 06, 2008, 08:46:16 pm
Hi Marc,

sorry for being unclear; I think you need to add a property-transfer at the beginning of the TestCase you are calling that transfers the TestCase properties to the desired Request(s) in that TestCase. Alternatively you could use property-expansions in the username/password fields of those requests by entering

${#TestCase#username}

and

${#TestCase#password}

in these fields respectively (in this case you wont need a property-transfer since the TestCase properties will be expanded into these fields upon submittal)..

Hope this helps!

regards,

/Ole
eviware.com
45  soapUI / soapUI / Re: Interpreting Spaces as against null in String input on: October 06, 2008, 08:41:50 pm
Hi!

of course, add the following import to the beginning of the file:

import com.eviware.soapui.impl.wsdl.WsdlRequest;

to see if that helps better..

regards!

/Ole
eviware.com
Pages: 1 2 [3] 4 5 ... 42


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header