-
Looking for a way to iterate each row in multiple datasources
I have 2 key tables, but could have more, and am looking to iterate through each row in each table independently but for a single request. for example, table 1 has row 1 though 4 and table 2 has trows 1 though 12. I am trying to get 48 combinations, without coding all potential combinations in one table. I tried an…
-
I want send empty value from xls sheet without excluding element
I am using parameterization, how to send empty value with out using excluding dob.Eg: dob : “ “
-
How use the variables mentioned in the .env file using environmentConfig ?
I want to use different environment file for each environment. I have exported the file(smoke.env) and placed in 3 different folders(DEV,SIT,PAT). The values of each environment variables vary as per the environment. I want to execute the script from .cli mode. Wen I tried to use -environmentConfig "Path of .env file" from…
-
Common/Global Tool and script section for SOATest
In expanding test cases, I have found that I use some tools repeatedly throughout various projects/test in SOATest. While there are global datasources, I have not come across a way to implement global tools or scripts. Some examples of global possible scripts I use today are JWT/JWE extraction and validation, curl creation…
-
Tree View for Nested folders of a project
Has any consideration been given to, or is this just a setting I am missing, to show items within test explorer, and other similar areas, in more of a tree view rather than a flat view? I know it is alphabetical, but that is hard for some...lol. As test libraries grow for a project, organization becomes a little harder…
-
Environment Manager job is not getting called by another job
Hi Team, We have a configuration of 10 jobs called by a single tst associated with a job.We are trying to execute that job using bamboo. In this situation job called by bamboo is not calling another jobs. Let me know if you need more clarification. Regards Udaya
-
capturing response time of API
can we have response time printed to every API that I hit from my SOAtest automated suite? Suppose i have a scenario.. to test this scenario I have to execute a sequence of test steps, each of these test steps is again a separate API. So, i want to capture the response time of each of these APIs and present it the report…
-
SOAtest Create CSV file from Excel datasource
Hi, I try to create a CSV file from an Excel datasource, containing the contents. I have used a CSV Client and as output a Write File hooked to the Request Payload but cannot get it to work. I have tried fiddling around with the different input modes, but up till now no satisfactory outcome, especially when having multiple…
-
SOATest denies the user from Windows 10 desktop
The user was fine connecting from Windows 7 desktop. However, once the OS was upgraded to Windows 10, the user is not able to connect to the SOATest server. The license server access log shows 'REQUEST_DENIED' message. What could be the cause? Thank you!
-
SSH into another server from SOAtest
I run SOAtest from my laptop. After certain actions, I would like to be able to have SOAtest, using a custom script, SSH into a Linux server, issue a command in that server, then exit. I assume that this can be done in a java or groovy script. Anyone have any thoughts? Thanks
-
DB Tool Returns a Value of 0
I have a situation where I am comparing a Source DB Table (SQL Server) to another DB exposed thru a REST API. I get the data from souce and pass in query to the API to get the result and then do a diff on message. That part is working fine, however if the source column is of Datatype Integer and is Blank, SOATest returns a…
-
Getting XSLT from Writable DS or Variable
I am storing the actual XSLT code in a Writable DS. I need access to it but it seems like the XSLT tool wants a "Relative Path" or direct path to the file. Is there anyway to get just the XSLT Syntax from the Writable DS?. When I set the variable in the XSL file box. It outputs the below The XSL file…
-
Decryption Failure
I'm encrypting password in java class, using MCipher (base.jar). Using encrypted password in my service. Its giving "General_Error", Unable to process your request response. When i search logs, im seeing "Exception while decrypting Password". I have added base.jar in my ExtensionTool under ModifyClassPath. Please suggest…
-
Is it possible to reference data source columns with a prefix value?
Hello, I was wondering if there's a way to reference a data source column using a prefix value similar to referencing environment variables. I have two data sources with each using their own Excel file. I see request clients able to specify which data source to use. If I select one data source, is it possible to still use…
-
Parasoft SOATEST Certification
Hello, Is there parasoft soatest certification available. If yes please guide me how to take it. Thanks!
-
Declaring variable at suite level
How to declare a variable at suite variable and assign it from Java class?
-
parameterization with java code
Hi I have a request xml, with literal xml file option I am fetching the request. Now I want to parameterize the request node values with java code. can anyone help me into did scenario
-
Create\update regression control
can the create\update regression control be used from Parasoft REST API code. Im trying to create a test suite through Parasoft Rest API and I need to add the regression control, but I do not see the code available under any package, I see only diff control is available.
-
Running Tests simultaneously on same workspace (SOATest License Server)
I know this is not possible on the desktop versions on soatest, but my question is directed on the soatest server side version. can I run the same .tst (same workspace) multiple times at the same time? Of course the test cases are different but the shell tests are the same. or run a different .tst in same workspace…
-
Cant write values to Test Suite Variable
I am unable to write a value generated from the data generator tool to a variable stored on the test suite level. What is the way of writing values to these variables? The documentation doesnt really specify how to do this. Additionally I am unsuccessful of generating values from a writable data source.
-
Issue with Alteration within XML Databank
I have a client who is trying to replace a value in the XML data bank. They have the correct path provided and data source / column selected. However, it is not updating the value to the one in the data source column. Are there some additional steps they may be missing? Can it update on Xpaths that end with text() ?
-
SOAtest iteration of tests in reference tst
Hi guys, I am busy constructing a new framework, consisting of a parent(driver) tst and multiple reference tst blocks. Both parent and reference (child) tst's have dedicated (excel) datasources. E.g. the parent DS holds the testcases and some 'switches' to conditionally use the child tst's, in which I have a DB query and…
-
How to do decode and encode base 64 operation in parasoft SOA test using value from Json data bank
We want to implement below steps in SOA test: 1. get the raw token string value from Json data bank 2. decode the token value to base 64 3. extract a part of decoded token 4. encode the extracted part to base 64 and get the value in json data bank Can someone share detailed step by step document of this solution…
-
Why do I get Resource "my resource" is out of sync with file system.
Why do I get the meesage "Resource 'my resource' is out of sync with file system? What is the fastest and easiest way to alleviate the problem?
-
How do I know what the -J-Xmx was set to when the client was launched.
Is there somewhere in the GUI that will tell me what the -J-Xmx parameter was set to when then client was launched?
-
Dump the contents of Writable Datasource to a file
I would like to write the contents (in full) of a Writable Datasource to a file at the end of a test. What is the best way to achieve this? any code snippets (especially if using Jython) are appreciated.
-
SOAtest - How to customize email body for auto generated reports ?
When i enabled "report.mail.attachments=true" I am receiving an email with the custom report which i generated thru XSL. However, i could see that in the by default email body was set to "local path" I want email body to change from default path to proper email body with some customization. Any help on this on how to…
-
Export Test scenarios with details
I am using Parasoft SOA 9.10 version. Is there a way to export the test scenarios to excel (.csv or .xlsx) ?
-
Updating Reference Test Suites
I have a client who is making changes to the master / original tst and the changes are not being reflected to the referenced automatically. Rather the changes only show after they restart the tool. They have followed the advice in…
-
Need a method which can trigger a specific test from the java code
I have a TestSuite which has number of Tests (lets say 20 Test),now I want to execute Test number 4 and 7 from java code using extension tool.Could let me know how do I trigger a specific test from the java code i.e. which method I have to use call to trigger that specific test? Note:-I can't use command-line feature as it…
-
Groovy REST Request - Scripted Input
When creating a REST request, I have three options for the data I send 1) Fixed, 2) Parameterized, and 3) Script I am attempting to use the script option to create a groovy script that will generate a random number each time I run a test. This is the script I have so far and I'm seeing the error "Argument count should be 0…
-
Triggering SOAtest TestSuite Runs Using Java Code Internally through ExtensionTool
Requirement:- 1) I have a set of TestSuites In a Project. 2) I want to use Extension Tool that'll call Java code or another supported prmm. language. 3)Code will run the desired TestSuite on basis on some conditions that I'll set. Any Help appreciated. :smile:
-
Writing json response to an excel
I have a json response which i am storing in json databank. I want the same to be updated in an excel . I had gone through the following link https://forums.parasoft.com/discussion/2698/how-to-create-csv-files-editable-in-microsoft-excel-from-data-extracted-from-tests But my case is for an json response, not an xml
-
Extent report in parasoft
how can we create extent report in parasoft
-
Custom Tool
Dear Support team, I create a custom tool and I define some GUI fields in "parasoft-extension.xml" based on below images, but I have a problem in parametrize inputs. when I want use ${my_var} in input fields it can't parse variable value and it return only string "${my_var}", please refer below images
-
Understanding Support for Custom Report Formats And Generate Customized report
I know how to create XSL. But I need help in understanding on how to do we link the available parameters to XSL. Also is there any way to send report automatically after the test / suite run ? It would be helpful if some one can provide with some example of XSL. My report would need All Test Details Suite wise or…
-
How to reference a specific test from another test suite
I would like to reference few tests from 2 different test suites. May I know how can I achieve it?
-
HTTP Response Code 415
Hi, I am new to SOA Test. Recently I have started using SOA test in my project. But I am facing an issue in the response. The error message states as below. Error Message: Received HTTP Response Code 415: Cannot process the message because the content type 'text/xml' was not the expected type 'application/soap+msbin1'. Can…
-
Keeping the auto generated XML Document for Report Customization
After I generate the report i could see that there are few files including xml document where soatest tool uses the xml to parse and generate html document for reporting. However, the same has been deleted once the report has been generated. Is there any way that i can keep that file for my customized report ?
-
Cant get JSON response from Rest request
I have a client who is unable to have their JSON request return a JSON formatted response, rather, it responds in XML format. They have provided the appropriate header listed out in: https://docs.parasoft.com/display/SOAVIRT9106CTP312/Testing+RESTful+Services+1 However, it is no working properly. Could they be missing…
-
assigning priority to scenarios' is Parasoft SOA Test
can we assign priority to the TCs' automated in parasoft SOATest? suppose i have 100 TCs to automate, i can group them based on priority ( in same .tst file) while execution i want to execute only P1 or P2 or P3 TCs. Do we have such an option?
-
Parasoft announces the latest release of the MQTT Extensions
The MQTT Extensions are custom extensions for Parasoft SOAtest and Virtualize. You can use the extensions on the client side to perform many tasks: * Publish to a topic * Subscribe to a topic filter until the desired number of messages are received or a duration elapses * Monitor a topic filter during test execution to…
-
Pagination - scripting solution or not possible?
I recently came a cross a page that limited the results in the response, however, I am looking to extract all the results to a external file or such. Sample return in header: Link: https://sample.com&page=2&per_page=100; rel="next", https://sample.com&page=1&per_page=100; rel="first",…
-
How to iterate to get column count and each column name from Datasource (DS as Table)
I was trying to write a piece of java code to loop thru each column and respective values. Using context i could see that i can read all the values (using context.getValues) of one column or can get one value using (context.getValue). However, I would need to know how do I read the coulmn count and their names ? So that i…
-
Can I overwrite an existing environment variable using extension tool or any other way ?
I have a value stored in environment variable which is used in many places of my suite. Is it possible to update environment variable's value dynamically ?
-
Email Report in Body
When sending a email report via SMTP, will the "View Traffic" and link on the error verbage be available in the email body. Currently it is now showing in my email report, so not sure if this is a config issue or normal behavior. thx
-
Multiple Tst run from CLI mode
How to run multiple tst files from CLI mode.Exact Syntax please
-
Extension Tool is not working for Outgoing Response - Transport Header
Hi, I am extracting the Header from output Transport Header by using Header Databank. context.getValue("Generated Data Source", "HeaderDatabankColumnName") I want to refer same in output Response - Transport Header Extension tool. But seems it's not working. As per my debugging I could not even print test message using…
-
Displaying 500 error when tried to use Login credentails especially masked password from env file
Hello, I exported my login credentials to an environment file (with Password as a masked value), when referenced the same env file and used the Username and Password variables in a Login service, it is throwing 500 internal server error. Note: Traffic Object -> Request is displaying correct Username and masked Password…
-
How to Encrypt the password in SOA test Tool
Hi All, I want to encrypt the password and that password should be pasted in the Excel sheet (Passing the input data from excel sheet). 1. When I am passing my password directly it was visible in the traffic viewer request . 2. we are having the option to mask the password in the Environment , but when we run that service…