-
How to enter datetime in Excel Data Source
I am using an excel data source to import data to generate complex structures, I have managed to work with creating relationships between the different sheets, but the one thing that I can't figure out how to do is how to enter dates so that I don't get an invalid datetime error. Anyone has done this and knows the correct…
-
Writable Data Source Append not Working as Expected
I have the following test setup: Table: Customer - Contains 2 customers. All rows are enabled. This will exec a total of 6 tests. Writable data source config: Json Data Bank as shown: Write file only shows the second customer when using "per iteration". What if I select "per write access" instead? Same result. This is the…
-
Variables not resetting as expected
Good afternoon, Recently I encountered some unexpected behavior while iterating through an excel data source. The scenario plays out like this: * Excel Datasource. Range 1-3 * Test 1: Authenticate 2.1. Traffic object. Groovy extract session token and context.setValue("var_token", token) * Test 2: GetAccountInfo. Passing…
-
How to run Powershell commands within SOATest ?
Hi, Can someone please help me know, How to run Powershell commands within SOATest tool. I need to have a SetUp test added to execute few PowerShell commands to do preliminary setup to execute my tests. Thanks.
-
Comparing Responses to Files
I have two rest calls. The first one gets 'id's". I populate them in a Writable DS. I loop thru the Writable DS using the id's for the second rest call. I want to validate the response to gold copy files that are in a fileshare (10 id's in writable against 10 JSON). If I use a "File DS" then it will validate against all 10…
-
Error in XML Data Bank with strings that contain "&"
Hi, I have a REST service that I am testing by querying a database for some name values and asserting these values against the service response. The issue I came across is that some values returned by my query contain the "&" symbol and when it tries to get that stored into an XML Data Bank, the whole test fails with the…
-
Script to bypass user input automatically
I need to call a executable that requires entering a password manually after it is executed. What I want to do is use the external tool to pass in 2 parameters which one of them is the value the executable prompts. I need this to run automatically by entering the password automatically. Has anyone done this type of…
-
soatestcli unable to execute scripts having java code.
I am trying to run soaest scripts using soatestcli but ending up with lots of java code error saying "class not found." as I am using localsettings in this case do i need to make any changes so that my classfolder should get loaded along with scripts when run by soatestcli.
-
SOATEST: Not able to connect to database while using Oracle 12.2 JDBC drivers
I have been using Parasoft SOATEST 9.9 and was using it to develop and run my web services tests against our server(which uses Oracle 11g drivers). Recently our servers got updated to use the Oracle 12c drivers(12.2.0.1) and I replaced my earlier oracle.jar , in the Parasoft workspace to 'ojdbc8-12.2.0.1.jar' ( I renamed…
-
SOA Test DBTool is returning Null value for correct query
Hi, DB tool with Oracle is returning null value. The same query in Toad returns valid record from DB. Sometime if we execute DB tool multiple times it might reflect any record (which is intermittent). Also if we parameterize the query it shows record for only for the last parameter(in-case if it returns any record) Even I…
-
Iterate through the Database Data Source
Hi, I am current attempting to use a Database Data source to verify result returning from the web service. I've created a simple test suite that included a Database Data Source (DDS) and a simple test. This test would include a XML Transformer and XML Assertor. The DDS contains a simple SQL that return 1 column with 3 rows…
-
Setting Project File Format Without GUI
SOATest supports three different file formats for tsts. Normally, this configuration is made through the SOATest GUI Preferences: Parasoft>Preferences>MISC>>> Save Settings>Project File Format Normally, it is best to leave the default Compressed XML format because of the overall effectiveness of the format,…
-
Authenticate Before Every Test Run
Good morning, Is it possible to configure a test scenario so that no matter where you start the test from the "Authentication" and "Initiate" tests will run automatically? For example: If I clicked on "Test Suite: Test Suite" in the below screenshot to run the "GET-Bill Status" I want SoaTest to Authenticate & Initiate the…
-
Groovy - Asserting that all JSON response elements have content
I have a test scenario with hundreds of response elements and I am trying to script an assertion to ensure that none of the elements returned as null. There must be an easy way to use a wildcard to search the entire response body for a null field, but I can't figure out how to do it. Can anyone suggest a better solution to…
-
Global Data Source Definitions for Jenkins (soatestcli)
Hi, how can I import a data source (data group with several excels) defined as 'Global Data Sources' when starting SOAtest from the cli? I was unable to find anything in the localsettings. is there a way to do this? maybe something similiar to the activeDataSource.xml? regards, urs
-
Wait in soatest environment
Between my test case execution i want to insert some wait time. how can this be accomplished. i have tried sleep call in extension tool, but is there any build in feature?
-
Project Folder Not Showing up in Workspace
Project Folder Not Showing up in Workspace Description: One day you open up your Workspace and either one or multiple Project folders you have been working on are not showing up in the Test Case Explorer of SOAtest or the Virtual Asset Explorer of Virtualize. This behavior usually occurs when the .project file inside of…
-
Backward compatibility
Hi, I have created scripts in 9.10 and have it in the team share . But my counterpart teams are using SOA 9.9 version and uploading their scripts.I m not able to open the services Soa 9.9 (.tst files) in 9.10 version .Is it possible for me to have backward compatibility of my 9.10 scripts to 9.9 version? Any help is much…
-
DB Tool SQL error: SQL command not properly ended
I'm trying to execute a DB Tool test. I get the following error: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended Scenario: * Set-Up Tests * Tear-Down Tests * Test 1: authorize * Test 2: DB Tool * Test 3: redeem My SQL: SELECT UPDATE_APP_NAME FROM CREDITACCOUNT.CREDIT_PROVIDER_REBATE WHERE…
-
Attachment Upload in Jira Test Case from SOATest
How can we upload files in jira for a test case from SOATest
-
In Parasoft SOA test 9.9, Copy and paste operation doesn't work
I am using parasoft SOA test 9.9. I have a weird problem of copy and paste, when I copy some content from outside to tool. it's just erase the current content , But what ever is copied is not pasted. I don't know why, It was working fine before. I keep switching between different work spaces. May be this caused some issue.…
-
Parasoft SOA test is getting hanged when i try to invoke a 2MB size excel file into data source?
Hello, I am using Parasoft SOA test 9.9. * Create a .tst. * trying to add a excel sheet to data source (excel file size is almost 2MB). everytime I import the excel , I am getting an error that Parasoft is not responding or the tool get freezed. I will have to go to Task manager to end the process. Is there any limit in…
-
Getting xml resquest/response in groovy extention script
How to get xml resquest/response in groovy extention script?
-
Can Bitbucket source repository integrated with Parasoft ?
Hello , we are using bitbucket as a source repository to store Parasoft SOA test .tst scripts. Can Bitbucket integrated directly with Parasoft? Currently we use some commands to checkout/check-in the code to Bitbucket. Earlier , I used TFS - Team foundation server and Rational Clear Case tools, where I can directly…
-
Where does SOAtest show console output of a Jar?
We are using a JAR by one of the dev teams to communicate with an external payment service provider. The java code in the JAR includes some logging to console using simple 'System.out.println(...)' statements. Why can I not see these Statements in the SOAtest console? Which console do they go? Is there a way to view these…
-
Number of Test Run drop down items in Traffic Viewer
Right now, I can see the last 5 test runs in the Traffic Viewer. I want to see more, but I can't find the place to configure the number of payloads available, or even if it's configurable. Any ideas?
-
Injecting a Authorization Token to the request automatically
Hi, here is the situation. previously I have create my test scripts and did not have need the authorization token. The project has been moving on and has introduced the "Security Authorization Token". Now, I have this challenge to open each single test and add this parameter and token in the Header. I wonder, if SOATest…
-
groovy autocomplete and calling other groovy scripts
hi is there any way to use the autocomplete (ctrl+space) functionality for the language groovy in external tools? i would like to be able to e.g. see the available methods and attributes of used java classes or my own groovy classes while i code. and is there a guide on how to setup SOAtest (9.10) so i can import groovy…
-
Modify Classpath feature in CTP??
Do we have modify classpath feature available in CTP as it's available in SOAtest desktop version.
-
How to use "Parasoft Search" on SOAPClient request?
My goal: identify all tests for which a value is specified in the CardNumber parameter. My first guess was to use Parasoft Search with a regular expression: * Containing text = CardNumber\>\d+\< (a regular expression created and tested with my prefered regex editor) * Check Regular Expression checkbox * Tool type = SOAP…
-
how to preview HTML response using parasoft SOA test 9.9
When I try to Execute GET Call using PostMan, I am getting successful response and I can see HTML page content in response. where as when I use the same GET Call url in parasoft via REST Client , I am getting http:307 and header has a redirect url. * can someone help me understand why the behavior is different in Parasoft…
-
How to use system properties feature in CTP??
As we have system properties feature in SOAtest how to use same feature in CTP. i am not sure whether this feature exist or not in CTP but can anyone let me know.
-
How to generate Report in CTP for any Job headlessly??
Requirement: Generate Report for any job in CTP without interacting CTP portal. Is there any REST API or URL to generate the report & to send out to different emails. I am looking this in CTP using headless concept.
-
What is the use of Requirement feature in CTP??
I found requirement feature in CTP with type @asset,@task etc... with ID and URL need to be input.Can anyone let me know the use of this feature as such feature is not available in SOAtest.
-
Assert JSON Response with multiple Rows from the DB
I'm really struggling with getting this to work, I thought this would be an easy use case for the software. However comparing the multiple rows from the JSON response to an equivalent query in the database isn't working. Here's what I've tried: 1. Create a writable data source that will be populated from a JSON databank.…
-
Configuring Class Path in CTP. or How to use java in CTP.
Hi Guys, I want to configure classpath in ctp to use java but unable to that. kindly help me.
-
How to dynamically create a SOATest workspace and add a project/tst (Through command line)
Hello Everyone I have a query for SOATest 9.7, we are trying to achieve following to test things without any manual intervention when a build/merge happens. Struggling to achieve step 2 & 3. Could someone please help. * On some test machine, checkout latest copy of a SOATest suite from SVN/Git * Create a SOATest workspace…
-
soatestcli unable to execute .tst that has selenium and dependent modules.
I have created one tst in soatest which invokes selenium and some other dependent jars. If executing through SOAtest everything is working fine but if trying to execute through soatestcli getting errors saying "selenium apis and parasoft apis are missing or not found." Note:I am invoking soatestcli thorugh remote pc via…
-
How to Send PDF file in a request field using Parasoft SOA test tool
Hello, I am trying to send a PDF file in one of the request field(fileContent). tool : Parasoft SOA test 9.9 { "fileMetadata" : "sfdsf", "fileName" : "dsdfsd", "fileContent" : "" } note that I am not just sending PDF file in the req, I also have to send some more fields along with the PDF file in the req. it;s just in one…
-
Parameterizing an Excel Spreadsheet Data Source name
I want to parameterize the File Path of an ExcelSheet in DataSource. In Parasoft help option I found below options but in these options I didn't find the way to parameterize the name of .xls file. Can you please help me with it. Specify the path to the Excel file in the File Path field. You can use the following variables:…
-
Some test scripts are being Skipped
I am trying to check out the scripts from SVN and run all the scripts from command line. But not all the scripts are running. Some scripts are skipped from the execution. I dont know why.. I didnt do any changes to the scripts or configuration. Anybody does know the reason why some scripts are being skipped???
-
How to programmatically deploy a stub
Hello, I have an SoaTest with a stub simulator that I should deploy on Soa Server each time I want to run the Test. So I want to know, is there any solution to automate the deployment of the stub on the Soa Server with a jython script or java class ? Thanks,
-
Need to run the SOATest test scripts from Jenkins on Linux server
Can anyone help me to provide the code to run Parasoft SOATest test scripts from Jenkins where the Jenkins installed on Linux server
-
To run a test multiple number of times depending on the count condition.
I have a scenario in which I have 3-4 tests.I have used a global variable "count" at scenario level and initially I have set its value as 1. From the SOAP Response of the test I get the exact value of count which I need to set, for Ex: count = 16. I have few more tests in the same scenario. Now I want to run the complete…
-
Reporting in parasoft
Is there a way I can have 2 reports generated in one run , I need one small report with passed failed count in the email attached from Jenkins and a details report which has all the details. I run the test through CLI command.
-
SOAtest CLI command - unable to run the particular test
Command used "C:\Program Files\Parasoft\SOAtest\9.9\soatestcli.exe" -runtest "C:\Users\xxxx\parasoft\workspace\DailyRxxxx\abc.tst" -config "C:\Users\xxxx\parasoft\workspace\DailyRxxxx\Example Configuration.properties" Earlier the same command used to run properly but now I face issue and get below message INFO: Scope not…
-
Customize the HTML report
Is it possible to customize the HTML report generated after execute the scripts from command line? like change the heading of report (usually its displays as "FUNCTIONAL TESTS"), remove the task by author table. Can anyone provide me some solutions?
-
Adding message to the reports
For Failed test , context.report command is used to show the particular message . Is there a way to show the message for the success test as well . Can we show the application.showmessage on the report generated. Need to show the message added in extension tool for the passed script with success message and the custom…
-
how can I validate the field name? in parasoft SOA test
Hello, i want to add an assertion to check the field name is returned as per schema. para soft SOA test 9.9 e.g: "status" : { "serverStatusCode" : "401", "severity" : "ERROR", if I want to check field name "severity" is returned as expected. we have standard assertions to validate the field values , But to add check point…