-
Data flow analysis
Does JTest supports DataFlow Analysis ? If yes how we can perform DataFlow analysis?
-
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…
-
How is .TEST different than NUnit?
NUnit provides only a framework for execution of tests that the developer prepared manually. .TEST embraces and extends NUnit to provide automated test case generation. .TEST's execution engine also provides many other important features, such as coverage reporting, automatic error assignment and distribution, tracking of…
-
Can .TEST test GUI applications?
One of the important aspects of GUI applications is that they have event handlers. .TEST can generate NUnit test cases that have calls to the event handlers. The parameters for these handlers will be set to values that .TEST designs automatically. You may need to modify the parameters in some cases. .TEST ships with…
-
How does .TEST handle threads? Does it detect thread-related problems?
.TEST ships with some coding standards rules that help in making a multi-threaded program more robust. If you are running NUnit tests with a multi-threaded program, then .TEST handles exceptions thrown by threads other than the main test execution thread to the best extent possible and reports such violations as well.…
-
Can I test database connectivity with .TEST?
.TEST provides a powerful execution engine. You can use .TEST in the presence of code connecting to databases in different ways. If you prefer, you can connect directly to the database. If you do not want to connect to the database, then you can use the user level stubs feature that .TEST provides to run the tests in…
-
Are private methods tested as part of the unit testing?
By default, tests are not generate for private methods. However, this setting can be changed in the Test Configuration.
-
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.
-
METRIC.CBO why accepted range is less than 10 ?
Hi, Is there any documentation explain the rationale for choosing the acceptable range values for all Metrics ? The acceptable range for Metric "Coupling between Objects" METRIC.CBO is "less than 10", this seems to be too less in my opinion. The acceptable range for Metric "Fan Out" METRIC.FO is "less than 50" The two…
-
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…
-
Logging soap response during LoadTest errors
Is there a way to log soap responses on error during load test? We are currently running load tests and some of our responses fail validation. It would be really helpful to be able to look at these specific responses during load test. How can we do this? Thanks Shaharyar Khan
-
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!
-
C++Test Rule for indentation
Checking indentation level for public/protected/private & switch cHi all, Does anybody have a C++Test rule to check the indentation level of public/protected/private keywords and switch cases? Our coding standard requires these to be in the following form: CODEclass MyClass { public: int foo(int x); protected: private: int…
-
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
-
Local pathnames in the .parasoft file.
Sharing projects and test assets through source control requires checking in a .parasoft file (if present) among others, but sometimes it contains local pathnames. For a number of technical reasons, when updating that .parasoft file, C++test will dump all (internally registered) properties (with their default values, which…
-
Response time is not appeared in graph at the running LoadTest
Response time is not appeared in grah at the running loadHi, I would like to measure min. max. and avarage response time for my positive test. These three time are setting in the ProjectConfiguration tab at the Monitors/Windows/localhost. When I started my load test running with one or more virtual users, SOAtest does not…
-
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…
-
Parsing comment with RuleWizard
Hi, One of our organizational rules state that the file name shall be included in a Doxygen style comment, like the following: /** * @file filename.ext * * file_description */ I have created the rule to verify everything until the name of the file, however I wasn't able to check if the added filename.ext in Doxygen comment…
-
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.
-
object repository
Hi, How to add objects to object repository through programatically and graphically.
-
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…