-
x-gzip attachment
Hi, I need to send x-gzip attachment with SOAP client. I can only find "zip" among MIME types. I am not trying to decompress it, only send with a different MIME type, than default one. Is there a way to add x-gzip to SOA 6.1 ? Lech
-
Signature tests
Anyone know what I need to do to resolve this warning: Key store certificate alias and private key alias/password are required to run signature tests Earnie!
-
Not able to load WSDL URI in soatest
Hi all, I am using soatest 5.5.2.The problem i am facing is when i load any WSDL URI it is not loading at all and i am not getting any error.when i click on finish it is hanging there itself.I tried running it from command prompt it got an error.Please refer the attachment for the error message. I am using this WSDL…
-
DB Tool output
Does the db tool output always come out as a string? I'm needing the value for a > numeric assertion, but it seems to only be seeing it as text content.
-
Retrieve output from external tool
If I were to use a command line external tool in SOAtest which writes its output to the DOS prompt, is there a way to capture this output (XML Data Bank, Writable Data Source, etc.) for use in a subsequent test within the same test suite? Currently, we use a similar tool that writes its output to a file and I then use some…
-
JMS message sending into a JMS queue
JMS message sending into a JMS queueHi, I would like to know that how can be sent an JMS message into a JMS queue. Because I did not find the appropriate tool in SOAtest. Has SOAtest abality to do this? Could you please send me a sample .tst in which have an example for JMS message sending? Thanks in advance Kevin
-
Response is not displayed in XML form
Hi All I am sending a request to get the item details from Database in the schema the item element is defined as string so when the request go to service for get item based on the input fields the service will get all items details from database when i am using Soapui to test i am getting right format, but with SOA test i…
-
Install WTP for SOAtest plugin version [Pre- 9.x]
Eclipse 3.4.1 You can install WTP either through the Eclipse Update Manager or through a zip file. You will need WTP version 3.0.3 To install WTP through the the Eclipse Update Manager: * From within Eclipse, click on "Help > Software Updates...". Open the "Available Software" tab in the form that appears. * Click on "Add…
-
Iterate inside an xml envelope
Hello All, I have the following xml file <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope> <SOAP-ENV:Body> <Request> <UpdateReq> <Operator></Operator> <Data></Data> </UpdateReq> </Request> </SOAP-ENV:Body> </SOAP-ENV:Envelope> and the possible values for my tags are Operator = [Galleti, Diogo, Doudou, Jenna] Data…
-
How to validate the value in the database
Mentioning the scenarios, faced in our application : 1.The first step is to send a SOAP request to a particular server and getting the Response (here the input is an email id ) 2.Search User step to find whether the user exists ( this is another SOAP request sent to the server) 3.Then to validate the same we are connecting…
-
Change global prereferences from command line
Scripted change of Global HTTP Authentication PropertiesHowdy folks, Please can anyone think of a way to change global preferences (specifically the Global HTTP Authentication Properties) via a script (i.e. non-interactively)? The sitution is: We have several related applications, each with its own SOATest suite (i.e.…
-
JMS Test via SOA
I am unable to set the call back tools for JMS testing. Is there any one can help me how to test JMS via SOA. Thanks in advance. -Shamim
-
SSL peer ShutDown incorretly
SSL peer ShutDown incorretlyHi Iam getting SSL peer shut down incorrectly when i am executing SOA test. Any help is appreciated.
-
Parallel execution
Hello, I have a big soa test project with 5 independent test suites. I have 5 machines (servers) that are sitting idle. One option is to set a common endpoint and send the requests to one machine. On the other hand it would be ideal if I could sent 1 test suite to every machine in order to finish the job in the 1/5th of…
-
Can we send HTML request using SOAtest
One of our services testing scenario includes a call being made to a website using HTML over HTTP. Is there anyway this can be done in SOATest tool? Here is our current product information. SOAtest Version: 5.5.3 (Build date: November 18, 2008) Copyright © 2001-2008 Parasoft Corporation GRS enabled, Server enabled 1000…
-
Connection to DB using script and verifying all the elements
Hi, Scenarios 1: I want to connect it to DB2 and verify all the response elements through python script. Can any one give me ideas how to do it.
-
Serial Number Generator
How to generate a series of positive integers?Howdy folks, I'm writing soatest-cases for a set-of-webservices which implement a "logical conversation". I need to pass a unique conversationId (as a soap-header parameter) with each service request. At the moment I'm just choosing a random number between 1 and 10,000,000 for…
-
Retry Soap Client request
Retrying a web-service request based on a value in the response.We have a requirement to wait an abitrary time for a web-service request to be processed. The scenario is: 1. a requestMap web-service places the request on the JMS queue * A map may take upto 10 minutes to produce. These large requests are queued, so that two…
-
Using a value from the request to check the response through Asserter
I am trying to verify that certain element in the response has the same text as another element in the corresponding request. Can you please help me understand how this can be done through XML Asserter?
-
A way to populate with a datasource with 200 fields
Hi folks, I am new to the tool and I have a project where the web service contains over 200 elements. I have the data in xls format for the request and created a data source linking to that file. However, I am wondering if there is a way to auto parametrize the 200 elements fields automatically without having to go in and…
-
How Do I Use a Method Tool to Get Current Value of an Environment
Hi, How do I use a method tool to find out what's the current value for my variable HOST and change it based on a response from a server. For example, I have an Endpoint field http://${HOST}/service. When my SOAP Client hits this URL, the server tells me to go to a different HOST. I'd like to substitue the current HOST…
-
Response -> XML Validator errors...what to do?
Good Day, I am working on a test that regularly fails a chained step "Response SOAP Envelope -> XML Validator". Here are the details of the step: simple add method with a large record chained output to Response SOAP Envelope -> Added Or Validated Correctly chained output to Response SOAP Envelope -> XML Validator chained…
-
Scenario or Suite?
How Do I Choose?How does one select to add a test scenario as opposed to adding a test suite? I have groups that appear completely random! Thank you!
-
Test Suite Variables
hi, In order to use a test variable that I've defined in my Seenario do I always have to create a method and bind an XML Databank to it in order to use that variable in an assertion? I created a stirng test variable that I'd like to use in my test in a Reqular Expression assertion..... Robert
-
Assert on an attribute from compressed XML response
Hello, My service is a SOAP Service which takes REST request in attachment and returns REST response in attachment. The returned response is a CompressedXML. Now, I wanted to use assertors to assert on attributes returned in that response. How do I configure that? The assertors (String compare, Value, occurance) doesn't…
-
Getting name of current scenario that method tool is running in
I need the ability to get the name of the test suite/scenario that the current method tool is running in. For example Say I have a setup test that starts a timer for a scenario and stores it in the context. I then have a tear down test for that scenario that gets the timer from the context and returns the total…
-
XML Compare and Style Sheets
Style sheets being used?Hi, If I create a XSLT to sort my responses, does the XML Compare utilize the Style sheet? Robert
-
Validations for response traffic in SOAP attachment
Hello, My application/service uses REST and SOAP where REST request is sent as SOAP attachment and REST response is received as an attachment. I wanted to add validations/method that performs verifications on that REST response which comes as SOAP attachment. Also, I would like to extract some fields from that attachment…
-
Using Dates & Times
Hi, I'm having some difficulty using a Method to provide input to a Reqest via a Form XML window. I'm using the getTime() funciton that was posted on your forum as well as using examples from other folks: **** Code **** from java.util import * from java.text import * def getTime(): # Get an instance of the calendar…
-
How to use the conditional assertion namely IF... ELSE in SOAtest?
Dear Sir, In output XML, choose SOAP envelop -> XML Assertor. Now, for this, select compound Assertions. It has AND. OR & Conditional assertions. Choose conditional assertion. Then, add String & Numeric assertions. Then, group them under Conditional assertion. Now, Conditional assertion has IF and THEN. But, i need to have…
-
Loops...
Controlling Scenario with a loopQuick question: I’d like to have a loop that controls how many times a Scenario runs. I need to do something like this: While notDone Test 1: IntA Baseline test Test 2: IntB Baseline test Compare XML – Compare results from test 1 & 2 and sets notDone = false when XML’s match While end The…
-
XML Assertor / Method Assertion
Is there any documentation on the XML Assertor / Method Assertion? I have an environment variable that contains a string like "M8015S12345". The XML returned from my web service returns two elements <MODEL>8015</MODEL> and <SERIAL>12345</SERIAL>. I need to find a way to compare the first numerical part of my variable to…
-
Test Delay vs. Maximum number of loops
Interesting dilemma. I have a test scenario that calls a service located on two different servers. The service generates keys in numerical order. Each test should call the service 100 times. The follow-on test (on the alternate server) should not start until the previous 100 calls have completed. If the testing were done…
-
Error Message when Running WS-I Interoperability
Hi, I am new to SOATest. I upload a WSDL and created the recommended 4 WSDL tests. I got this error message on the 3rd test - Test 3: WS-I Interoperability The reference to entity "WSDLs" must end with the ';' delimiter. Is there a reference guide on how these error messages are generated? The Developer has no idea what…
-
XPath and price filter
Hi all, There is any way to insert an price filter (like "/bookstore/book[price>35]/price") in the XPAth above? /*[local-name(.)="Envelope" and namespace-uri(.)="http://.../"] /*[local-name(.)="Body" and namespace-uri(.)="http://.../"] /*[local-name(.)="response" and namespace-uri(.)="http://..."] /*[local-name(.)="price"…
-
JAR file and Method tool problem
Hi all, I'm having a strange problem with my jar files and the Method tool. After put the class name into Project Configuration, the "Method" list became blank, and I not able to select any class method. I tryed to compile the classes with many different encodings, but didnt got any progress. Thanks, Douglas.
-
Importing the random package in python 2.5
Group I am trying to import and use the Random module within Python and am having a hard time getting SOATest to properly use the python method that I have defined. The code is as follows CODE from com.parasoft.api import * from soaptest.api import * from java.util import * from java.lang import * from random import * def…
-
Reporting questions
Several report questionsHi I have some reporting questions: 1) How can we automatically create a report with every run. Is very tedious to have do this manually by right clicking on the window. 2) How can I give the report a unique name. Username and timestamp will be ideal. 3) How can we make a test not show up in the…
-
How do I access a XML data bank from a script
Can you give me some sample code for accessing a previously populated XML data bank in a script. Thanks.
-
SOAtest Logging?
hi, is there a way to switch logging on in SOAtest? It would be helpful to create a detailed log file of the activity of the tools. We are trying to see whats going on with a JMS callback tool. thanks, Jonathan
-
Error opening Test script
java.io.EOFExceptionHi, I was working on a script on Friday and made some changes-->Saved it. But, today, I am not able to open that script/.tst file. When I try to open, I am seeing error: "java.io.EOFException" in the message window. However, I am able to open and modify other scripts and re-open them without any…
-
Stub Settings
is it possible to setup a response using the 'if request matches' setting, so that it responds if it does NOT match?
-
Auto Populating parametized attributes
We're using the populate to map large (and small) tests. I've not been able to find an Xpath that will auto-populate an attribute. e.g. We have an element to ship: <MyDt myattr="true">2008-03-11</MyDt> After a populate with the following fields: Record/MyDt/myattr Record/MyDtXL Record/MyDt The test will populate as…
-
Silent Install
Does SOAtest support silent install? I got the setup installing silently with commandline switches as far as distributing the binaries, but at the last step it asks whether to install the SOAtest Service. This dialog seems external to the Innosetup exe so I wasn't sure how to get around this dialog.
-
Null value causes "column is not a valid date"
This may be more of an XML question, but... We have a non-required complexType element within a request message which takes data of type Date with an attribute which takes 'true' or 'false' as a value. As far as our service is concerned, we can pass the equivalent of: CODE<MyDt MyAttr="true"/> However, SOAtest is giving me…
-
Report naming issue using command line
Hello- I have run across an issue that a couple of previous posters have but, have yet to run across a resolution. I am using the command line feature to run all of our tests in a batch process and have an issue when using %d for reporting - it is printing literal 'd' instead of the date: so, my report is d_ReportName.html…
-
DB calls
writing to a data sourceI have a sql insert that works fine. I need to capture into a data source the IDENTITY of the entry, to be used later in a test. i need to do this roughly 12 times. What is the best type of data source to do this? $[Ident: MSG_ID] = SELECT SCOPE_IDENTITY() Doesn't work. Can I use more than one data…
-
Select to Data Source from DB call
How is this done? How can I fill a table, and then use the data from that table? Can I use a setup test to query a Database and populate a SOATest Table? eg : SELECT H.MSG_ID, H.MESSAGE_TYPE FROM dbo.HOLD_QUEUE As H WHERE H.MESSAGE_KEY_TXT = '$[Key]' AND H.MESSAGE_TYPE In ....
-
JSON Data Bank tool using
Structure of the JSON object is not displayedHello, I know that JSONDataBank gives a way to visualize the structure of the JSON object, but when I tried it to use this tool, the message structure was not displayed under JSON tab after running test. Only 'this' word is here. I right-clicked on this word and selected 'Expand…
-
JMS NamingException
Unable to execute a SOATest while trying to send a msg to WASHello, I am trying to send a message from SOATest to a queue registered on a WAS-server. I get the following error message in the SOATest console: JNDI NamingException: class com.websphere.naming. CannotInstantiateObjectException. This could be caused by a…