-
How to do Environment portability for soap client?
I want to work with 3 environments. For example production and test(sit1 and sit 2) environments.. In that case I have added the environment url in environment suit.. How to do parameterization in test ?
-
Modify stub call parameters' values
Hello, I have a stub function like this: stub_func(uint8_t * data); (this is an output parameter). I need to modify the parameter in a unit test. I tried to set the value in this way: uint8_t ptrData[] = {0x1, 0x0, 0x1, 0x4}; CPPTEST_ON_CALL("stub_func")->Arg("data")->Assign()->UCharRef(ptrData); but I don't see the…
-
How to get particular data from response to use in db?
I wat to parameterize a in db value which is generated in response.. How to do this one? For example I am creating a customer ID through soap client and I want to check whether that customer ID is inserted into DB or not?? How to do parameterization for above scenario and also I want to write a DB result (out put) in…
-
Can "Browser contents" be saved for offline viewing?
Hi All. I have a test which is calling an API of another app. In response a web page with results shows up. Its contents are visible in Browser Contents -> Post-Action Browser Contents. I want to save this HTML content offline. Is this possible in SOAtest?
-
Logging Console to file
Is there a way to write to a file the output of a testcase that normally goes to the console? This way I can view this information (e.g. print statements) for debugging purposes without getting my output truncated by eclipse.
-
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
This is my code in Extension tool test :smile: from com.parasoft.api import * from time import gmtime, strftime from soaptest.api import * from java.util import * from org.apache.poi.hssf.usermodel import * from java.io import FileInputStream import sys reload(sys) encoding: utf-8 def setName(input, context):…
-
How to access xlrd and xlwt
Hello team, I am new in soa test. I want to use xlrd and xlwt into soa test. Not sure how to get configure so that I can use them into soa test case. Currently I am getting error when I write import xlrd Thanks RK
-
how to update content of an Excel file from Data extracted from tests
My Use case is, i have an excel file in which i would like to update the content of certain column data with actual values from Database using DB Tool or Extension Tool. Can someone help?
-
Is it possible to accept user input prior to test execution?
Hi All. I have a test which calls an API. This API compares two tables and gives an output. These tables can be of different entities and kept and different locations. I want to give end user a choice to select entity and location prior to test execution. How can this be done? Also user's choice would have to be captured…
-
How to do Parameterization for a soap client?
I want to create the employee ID for 10 members with there dob and name with one soap request.. How to do this one? And also I want to write the XML req and response messages in separate folder by automatically.. Could you please help me in this??? Thanks in advance...
-
How to execute a simple soap request Without WSDL/WADL URL??
Just I want to execute a simple soap request without using WSDL/WADL... Using end point URL.. So what should I do to get response of the request.. And what are the steps and setup to be followed in transport tab?? Could you please help me in this??
-
Migrating Load Test Continuum data from 1.5 to 2.0
LTC 2.0 is a standalone Web application that uses a file system, not Team Server, to access Load Test report data. You can export your LTC 1.5 data from Team Server and view it in LTC 2.0 by following these steps: * Navigate to your Development Testing Platform (DTP) Team Server page and click the Data Storage icon. In the…
-
Unit test problem with original method stub files
Hello to everybody. I encounter a problem during the unit test of a software developed in Tornado environment with Vxworks 5.5 for a PowerPC embedded system. I import the project in Parasoft cpp test (in Eclipse IDE) with the wizard and the project compiles correctly. When I create the Unit Test I encounter a problem by…
-
Your credentials could not be authenticated: "Credentials are missing.". You will not be permitted a
When I tried with soap client with custom end point but I'm receiving below error message could you please help me in this? "This is typically caused by an incorrect username and/or password, but could also be caused by network problems" for this what configuration we need to do
-
Soatestcli Groovy script extension tool shell command call throws Permission Denied.
I've a groovy external tool script setup to call the python command from shell. Code is "python test.py" .execute(). Which is working fine in my local machine. Now I have Jenkins instance running in a server from where I'm running the same test case with soatestcli and it gives me permission denied for Calling python. I…
-
any idea about initia set up for messaging client?
when I gave only endpoint detail in transport, and transport as HTTP 1.1./HTTP1.0 when I tried with above configuration its throwing following fault code Client.NoSOAPAction WSWS3147E: Error: no SOAPAction header! other than this do we need to do any configuration to get success response? if any one knows about this…
-
XSLT buggy
Sometimes when I add output XSLT right under a test suite ,sometimes it works and sometimes it does not. I even changed it to a path that does not exist to introduce an error and it reads right over it. If i have it as a Test on its own I get premature end of file. I have other test suites where it works. Is there any kind…
-
How to dynamically add xml tag to a soap request?
My groovy is generating an xml tag and need to inject it in a soap request? what are the probable way in which we can handle this scenario?
-
Individual Node Assertion on Repeating XML nodes where not all data is known
I have a scenario where I post data to a rest service and the message has repeatable items, for instance multiple lineitems. On the response I would like do do assertions at the line level where some of the data will come from the Request message and some are unkown but I can verify existence, type, length etc. I can do…
-
DataSource Message as a Input to XSLT
How do I reference a DataSource as input to an XSLT? I have a soap message in a datasource but I need to reference that source data later in my test suite. thx
-
Why the EOFE exception is occured?
how to do to initial configuration setup for server details and preference details? what we need to give in the field of URL under preference. when I'm trying to add new WSDL or WADL its throwing error like the WSDL URL is not accessible at that time what we need to do?
-
Getting java error, when trying to open a project/tst file.
Error Details: java.io.ioexception:com.ctc.wstx.exc.WstxParsingException:Received non-all-whitespace characters or cdata event in nextTag(). at [row,col{unknown-source}]:[8348,48]. Please help with resolving the issue.
-
404 error when running SOAtest locally calling a local service
I am running SOATest on my local laptop. I am trying to call a simple service on my same laptop I keep getting "Received HTTP Response Code 404: Not found" When I double click on that message it says "Network Error (dns_unresolved_hostname)". Ok so what I did was a dns flush and used FQN, ip address, etc and does not work.…
-
I want to add the amount and assert the total to a value
Hello, SOA test : 9.9.5 I have an API where the response will be the clients accounts details like(accounts name, Category, amount and etc). I want to add all the different accounts "amount" and assert the same with the "total balance" field. please advise. Thank you. regards, Neil
-
Get the values of two Data Elements with the same name
Hi All, I am trying to grab the values of two tags with the same. See XML structure similar below: 1 2 </Data Set> This XML Structure comes from context Thanks for your help
-
Whitespace issue with SOATest - Help Needed ASAP
We have XML based request and response. When we get response back from our server or database in XML format and if the same response has whitespace at the beginning or at the end of the tag, SOATest response in Traffic Viewer --> Literal beautify the XML by default and doesn’t show the whitespace. Example: Here is one of…
-
How to generate Individual Hits report using commands in Linux
Hi, I am running my load tests in Linux and the .rpt file will get generated once the test got completed. Generating individual hits report from the .rpt file takes more time since the file size will be high (around 350 MB) and also it takes more time to copy from linux machine to windows machine. Please let me know if…
-
how to validate if response field is expected to return X and Y.
Hello , I want to assert on a a response field(string comparison assert) . But the response field value returns X and Y . Both values are Valid. I want my assertion to pass the test in both cases. I know we can assert on one expected value. can you please advise which assertion to use to validate the same field with two…
-
Implementing WCF Service Virtualization
Implementing WCF Service Virtualization Description: This document can be used in conjunction with the .NET Routing Service documentation to assist users in setting up their WCF service for Virtualization. We will be focusing on the second method of configuration using a Virtualize Proxy and specifically reviewing the…
-
Merged: How to activate a Community Edition License.
This discussion has been merged.
-
How to extract empty tag values into a data bank
Hello, tool: SOA test 9.9 PART 1 I am extracting a value to data data, sometime the data is expected to be empty. The data bank throws an exception that: No nodes found. I want to retrieve some value even though the value is empty. I tried to go into option of data bank and set extract empty value as 'a' - But it did'nt…
-
How to assert the length of the field.
Hello, In SOA test 9.9 . Is there any specific assertion to validate the length of fields coming in response? e.g: I want to apply and assertion below field should be always 16 digits: 123456874874834 Regards, Neil
-
Match all request body elements from traffic txt file?
I recorded HTTP traffic using proxy, i can use the traffic file to create VA, but i want the responder correlation match all the request element from traffic request.(No more no less) How can i achieve this?
-
X-path going back to a different field in same payload
Hello, I want to apply an assertion on below fields only when the "name" : "woodGundyDeposit"... "categorization" : { "category" : "NON_REGISTERED_INVESTMENT", }, so i am going to name field .. But I want to know how to come back and assert on Category field.…
-
How to apply an x-path into an array.
below is the sample JSON response, I want to get the documentid whose "subcategory" : "Loans" only i tried below, didn't work out. //documents/documentId[subcategory="Loans"]/text() I want to apply a condition on subcategory field and retrieve only document id which satisfy the condition mentioned. { "documents" : [ {…
-
How Do I Load or Use A Provided WSDL Link?
I have been provided a WSDL link to try and get some experience with but I don't know how to load or access it in SOAtest. How do I load or use a provided WSDL link? At the moment I have only an empty SOAtest project. Regards, Bright
-
How Do You Create a VirtualAssets Project?
I am trying to add a WSDL file for the first time to a project as shown in the "Create a virtual asset from a WSDL service description" video at https://parasoft.com/support/service-virtualization-and-api-testing-how-to-videos/ and while they show how to add the WSDL file they don't show how to create the VirtualAssets…
-
Is it possible to create the script for Virtualize?
Hi, We are virtualizing the wsdl by recording the traffic and creating the .pva file. Is there any way we can automate the whole process of recording, creating the .pva file and send the request, change the xml values autoamtically. Thanks
-
How to fix java.lang.runtimeexception error initializing storage while launching SOAtest
Hi Team, We are receiving a error " java.lang.runtimeexception error initializing storage , An error has occurred. See log file null" while launching SOAtest. I didn't get any help from recent posts in Forum and its blocking the execution. kindly Suggest the solution for this
-
Ports: DTP Engine -> DTP
What is a complete list of ports that has to be opened between the Build Machine where Engine (or Desktop) is running and DTP Server by default? Default port for Data Collector is 8082 as far as I can tell. 8443 I assume should also be in the list. Having complete list for use cases: DTP : Engine / Desktop DTP : PIE would…
-
DTP Engine - custom folder for user rules
Is there a parameter that can override the default user rules directory? By default - it's here: [INSTALL_DIR]\rules\user\ What if I want to put my user rules under version control and map to some other directory?
-
Looping
I have a XML source pulled in from calling a .jar file. I need to loop thru that XML file based off xpath and send each one to a soap or rest service. How would I do that?
-
Changing the LoadTest Java Version
Edit: To incorporate benken_parasoft suggestion: To change the Parasoft Loadtest Java versions: * Execute Parasoft Loadtest with the "-ask" argument: * A menu will pop up with choices of different Java versions that can be detected and an option to point to a Java installation manually: * Selecting "Ok" will initialize…
-
How to create virtual asset for JMS services in parasoft virtualize
How to create virtual asset of JMS queue from request response pair in parasoft virtualize
-
JMS Monitoring
Could Not create JMS IntialContext Instance Hi, I am trying to monitor the JMS send and Receive messages in SOAtest 6.2 using Java Message Service option available in SOAtest. I am using ORACLE WEBLOGIC SERVER 10gR3. But When I am given the server details in SOAtest click on next it is showing error pop up saying "Could…
-
App Config Settings
Hi, I have a set of unit test created using microsoft visual studio unit test project. This set of tests are all able to pass successfully when i run it using the test explorer that comes with visual studio. I realised that all these test cases are also loaded automatically into parasoft's Test Case Explorer as well.…
-
Static Analysis Rule Maps - the difference between 9.x and 10.x and migration from 9.x and 10.x
Static Analysis Rule Maps - the difference between 9.x and 10.x and migration from 9.x and 10.x Rule maps functionality allows users to customize properties (such as category or severity) of static analysis rules. In addition, the rule map interface also allows you to upload custom rules. DTP 5.3.2 (Engines 10.3.2)…
-
Using variable preceded by backslash
I'm trying to assert on a xml tag that should contain a file path. I configure a String Comparison Assertion "Element must contain/Expected value/Fixed" with the following value: ${rootfolder}\${variablefolder}\filename.xml. This gives an error message like "should contain expected value:…
-
How to convert binary format bytes into PDF via parasoft tool.
Hello, I am using parasoft SOA test 9.9 . I want to know how to convert binary bytes to PDF format via Parasoft SOA test tool. Is there any Add-in or extension tool to convert binary bytes into PDF and view the same via browser.
-
DateTime Diff based on current time
Hi, Is there a simple way to use a DateTime Diff with Base Value == test execution time or current system time? Any kind of ${now} variable that exists???