-
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…
-
JMS reading and comparing - best practice?
Dear support, The relevant logic of the application we need to test is this: 1. A JMS message is put on a queue on Server A. 2. The message (if is valid) it is slightly transformed and put onto another JMS queue on Server B. We need to compare the messages put on server A with those read from server B. The Messaging Client…
-
Does SOAtest support Spring remoting?
Can I use SOAtest to test services that are created with Spring remoting? As far as the tool is concerned, would it be any different than testing any other service - just specify the endpoint and request, then configure the transport type and settings, or is there more to it?
-
How to ignore whitespace diffs in regression controls
Using WebKing 6 I'm wondering - is there a way to have it ignore whitespace changes in regression controls, I mean as a rule rather than having to manually tell it to ignore each individual case (which could potentially mask other real regression)? When I run my tests against a different test server (running weblogic 10…
-
What kind of Pages are tested webking?
Do they include the dynamically generated pages from javascripts?Hi, I started using webking recently in order to run tests related to web accessibility issues on a web application which runs on an application server. Now the url to access this application is something like this: http://localhost:9080/<app_name>/ I need to…
-
Sonic .jar files are needed by SOAtest to invoke SonicMQ JMS
What is needed for testing SonicMQ JMS services using SOAtestThe following Sonic jar files need to be added to the SOAtest classpath* broker.jar * mfcontext.jar * sonic_Client.jar * xq_core.jar They can be found under the Sonic MQ/ESB installation dirs lib and lib-mq. To add a jar to SOAtest classpath, go to File -->…
-
Receiving BAD INTERFACE from Insure++
During Compilation, BAD INTERFACE pops up..It appears that BAD INTERFACE error occurs when I have a extern to a function: I have the following: Declaration conflicts with interface: syslog >> extern int syslog (int priority, char *fmt, ...); Please contact Parasoft support: support@parasoft.com another one: Declaration…
-
Setup tests - Run before Standard tests
Setup test: doesn't seem to be working for multiple iterationsHi, In my tests, I have one scenario containing 5 different test cases. In the scenario, I tried to setup test as methods and output of those methods, I need to use as request parameter for those 5 different testcases execution. - I have a comprehensive…
-
How do I get writable datasource values in an array
Hi, For one of my tests, I wanted to get values from datasource into an array for verification of extracted values from my response traffic. Here is what I want to do: - Using DB tool & XML databank, am extracting DB values and storing them in writable datasource. - In a method A, I am extracting parameters from response…
-
Installing on AIX 5
AIX 5 uses an environment variable: LDR_CNTRL to mange memory layouts. If you have this set, unset it, then install Insure++. Please see the following article for help understanding LDR_CNTRL: http://publib.boulder.ibm.com/infocenter/t...perftune113.htm --Rich
-
Backend testing
Issue faced while testing oracle databaseHi, I am trying to execute a simple SQL query from Parasoft SOA test tool for Oracle database(version:Oracle 9i, Operating system:Windows XP). But I always get the error-"ORA-01882: timezone region not found " . For any query for any table, I get the same error. The queries work…
-
Using XPath in Method
Hi, From my response traffic, I am extracting a section using XML transformer and storing it into a variable. Now I want to use that variable in another method and need to use XPATH to extract some attributes for certain calculations and verification. Example: my variable will have data like: <TEST1> <CO A ="12" B= "23"…
-
Can't build unit tests for target execution (VxWorks)
Environment: Windows XP Workbench 2.6.1 VxWorks 6.3 C++test7.1WindRiverExtension 7.1.2.30 When trying to build unit test cases for execution on a vxworks target the test configuration fails. We are unable to run unit tests on the target. Jeff Estes was on site 1/30/08 and has the details.
-
License Question
LicenseIs there anyway to get a floating license for the command line interface and bug detective applications?
-
Given our directory structure we are having link failures in generatin
(Entered for David Mann) This topic has been discussed and you have provided a temporary workaround. I have been able to add the missing function definitions inside the auto_incomplete file and been able to get the test generated. I am keeping this issue open until we have a solution for this problem. Please keep me…
-
What needs to be configured in Clear Case
(Entered for David Mann) Parasoft seems to generate alot files inside the .cppTest directory. How does this stuff relate to the test suite and stubs that are generated? If we do not configure these files to we incur a compile time penalty, a code overwrite penalty? Please explain.
-
How do I take the Unit Test Driver and use it for both NT and Green Hi
(Entered for David Mann) This topic comes from our last meeting where we discussed how I can take a unit test driver that I made and compile it on the Green Hill Multi. What I currently do on my actual project is make a unit test driver. It tests all the functionality within my project, include test stubs from other…
-
How do you create Tests with NO stubs
(Entered for David Mann) Ok. Here is what I want to do. There will be at time where I would like to use the full functionality of my current project and possibly one or more other projects. For example. I may want to generate the Main project and use the actual code from the Common project. Currently, stubs are created for…
-
Trying to "Isolate" the Isolation of a Class unit Test
(Entered for David Mann) I am trying to isolate a particular class from the rest of the project. For example, I would like to test only TestExecThread.cpp. But I want to keep the function level testing around. So I am trying to devise a way to not to mix them up. The following picture shows my attempt at doing this (see…
-
Question about report generation
(Entered for David Mann) Is there a way when executing a run unit test to have the report default to a differerent directory than C:\Documents and Settings\mannda2\Local Settings\Temp\parasoft\xtest\? What I am thinking is the following: Currently I am developing the following structure for stubs (see attached): I would…
-
Failed compile when removing a function out of a class
(Entered for David Mann) I added a function inside AdjacentChannels called BlaBla(). I added it to the .h and .cpp. The .cpp portion is just an empty function. I added a call inside the constructor of the ThreadBase class AdjChannel.BlaBla(). I built the code using GenerateUnitTests followed by GenerateStubs followed by…
-
Multiple auto_incomplete files generated
(Entered for David Mann) I just observed this when preparing the previous issue. When I added the default constructor for AdjacentChannels, I noticed that I now have two auto_incomplete functions auto_incomplete_6b7324ea.cpp which contains the original stubs and auto_incomplete_2f8f39d7.cpp which hold the new constructor…
-
Failed compile when not using explict constructors
(Entered for David Mann) I made a class to add to the Common vcProj called AdjacentChannels. The defined constructor passes in a parameter. The default constructor AdjacentChannels() is not defined in the file. When I call the GenerateStubs I will get the following error: Precompiling source: UAV\MAIN\Source…
-
Bug in Line Coverage mode
(Entered for David Mann) If you run the successful mode of the .sln file I gave you (removing the PreInitialize functions), it seems that the LINE COVERAGE for TestExectThread is wrong. I get the following result (see attached). It does not make sense because when I debug it, it does execute the SoftChannel::addApplication…
-
Authorship issue
When multiple instances of Visual Studio are open the authorship feature only works on the first instance opened. Open a Visual Studio solution right-click and find authorship on a line of source. It works has expected. Open a second solution in a second Instance of Visual Studio and find authroship on a line of source. It…
-
edgtk.useEdgPreprocessor false
When the edgtk.useEdgPreprocessor false option is set is it specific to a project or does it apply to the C++Test installation. Testing would dictate that it is not a global setting but local to the project. If the project is checked out in a different location the option is lost. How can it be applied globally?
-
Stubs are not automatically generated
• Our default testing approach is to stub everything; we will only use implemented functions for white box testing for a few utility functions. • Our program has over 2000 functions that must be stubbed. • Creating a stub is a straightforward, albeit tedious, activity and should not be done manually. • The "stub generator"…
-
How Do I Get Parasoft SOAtest?
Where to download it from and how to license it * Download the latest Parasoft SOAtest release from http://repository.parasoft.com:8888/soatest/ username: support password: soa4you * Register on the Parasoft Web site. It is possible that a sales person will contact you after you register. If that happens, just tell them…
-
Parasoft SOAtest Benefits for Sonic SEs
Parasoft SOAtest can validate Web service bindings and workflows built with and around the Sonic ESB in terms of functionality, interoperability, security and performance. Parasoft SOAtest is available to all customer-facing engineers for free. Parasoft SOAtest assists Sonic consulting and customer facing engineers…
-
Variables used for database queries
I use DataBases as datasources for all of my test. In a particular project I may have 50 of these. Our data is site specific, so my queries look like this: select account_number, site_ID, WORK_ORDER_NUMBER, WO_STATUS, WO_TYPE, CHECK_IN_STATUS, ASSIGNED_INSTALLER from con_work_order_master where WO_STATUS = ' ' and…
-
Using stubs to test against a real SOAP client
The SOATest tutorial describes how to create stubs and run them test against the SOATest SOAP client. This is fine, but for me the true usefulness of the stubs feature is if it can be run against my 'real' SOAP client (in my case a small GUI widget which consumes the web service). The beauty of testing in this way is that…
-
test with Response Transport Header - diff
fails if order of headers is differentI'm using Messaging client for HTTP requests (working in SOAtest 5.1.1). I need to analyze a response body and headers. In my case headers can come in different order or some of them can be omitted. Could you suggest a convenient way to check the existence of predefined set of headers…
-
LoadTest - is there an accessible virutal user id?
I'd like to run load tests where each user has an ID definied in a data bank. That ID is used as one of the parmeters in a test. I've created a data table, which that has a row defined each valid user ID. The objective would be to define load tests, where each virtual user is a user from that table. For example, if 20…
-
Insure++ Red Hat 7.1 pthread_create error: too many arguments in function
Issue: The “too many arguments in function call pthread_create”, PARSE_ERROR reported by Insure++ when building a threaded applications on Red Hat 7.1 using gcc 3.x Cause: If your operating system is Linux Red Hat 7.1 and you have recently upgraded your compiler to gcc 3.x, or above you may be experiencing this…
-
Environment files
setting from the command line...Hi, is it possible to specify an Environment that is not in the .tst files' list of Environments via the command line? I have tried specifying a path to my environment file, but appears to not work.
-
SOAP Client Form XML
SOAP Client Form XML with XML Data BankHi, We're using the "Form XML" view to construct our SOAP Client test request message. We also use a method to format the data input from our excel datasource and store with XML Data Bank (with XPath). Our datasource column sometimes would contain a list of data seperated by a comma…
-
How to get the response header in scripts?
How can get the response headers of the test in my pyton script? What Api to use? thanks Rama
-
Does SOAtest support an XML result type of xsd:integer?
Does SOAtest support an XML result type of xsd:integer? Essentially I need to know if the XML Data Bank feature would handle a result/response containing something similar to: <null_xml_element xsi:nil="true"/> thanks!
-
Scripting - Where is the standard output stream directed?
If you are using the println method in a method tool then the standard output stream is directed to the console which is not shown in SOAtest when running normally. The console is shown however when using st.exe which shows the console in addition to the GUI. You would see the output in the console in this case. The…
-
How to add a global method
Hi, We have in our SOAP tests a lot many operations that are using the same method for some or the other purposes. How do I add a method globally so that instead of calling the same method in every opertaion, I can call that once for all of the operations? Ex: We have operations 1A, 1B, 1C using the same method 2A. And…
-
How to validate response elements with SQL query result?
hi, i have added database as datasource and executed the query, then forwarded the result to table. so table has a set of records. now i send xml request to webservice and gets response. now i want to validate the values of response elements against values present in table(sql result). please let me know how this can be…
-
How to compare 2 xml response files? (Other than Diff control)
hi, i run a request r1 against one webservice (endpoint) say e1 and get response as res1. then same request r1 will sent to different endpoint e2 and get response as res2. now i want to compare the res1 and res2 xml files. i dont want to use Diff control as it compares the files line by line. i want the files to be…
-
How to access SOAtest Environment variable?
from Extension toolHow would one access defined variables in the Environments feature from within the Extension tool? I don't see anything that addresses this defined in the Scripting API...
-
Runtime exception in the test case generated!
Exceptions in QString in the test cases generated...Consider the following code Snippet!! - Its a Qt based application... In one of the generated test case, we have: CODE ... .... const ::QChar * _arg1_0 = 0 ; /* Initializing constructor argument 2 (unknown) */ int _arg2_0 = cpptestLimitsGetMaxInt(); ::QString _text…
-
size limitation for a 'xsd:base64Binary' type?
I'm doing a request that has an element that is of type 'xsd:base64Binary', and I choose to reference a .tif file. If that file is 28kb, the request is successful. However, if that file is 80kb I get an HTTP Response Code 400 that says 'bad request'. Is there a limit on the size of the file that SOA Test will send? I…
-
How to Switch Transports
The first script changes all tests in the suite to HTTP 1.0 with close-connection. The second script changes all tests in the suite to HTTP 1.1 with keep-alive and chunking. Set to HTTP 1.0: CODEfrom java.lang import * from com.parasoft.api import * from com.parasoft.util import Util from webtool.messaging import * def…
-
Jtest on Windows Vista!
is jtest support window vista?Hi threre, I wonder if jtest could run on Windows Vista platform. Our new project will use Windows Vista as standard operating system. Will you answer to me?
-
Capture and Loop through the response
Hi, I have a query. A method returns 10 records. If there are more than 10 records then this method returns first 10 records.[Sorted by date/time creation] other wise it will return based on the number of records exists. There are 5 attributes in each record. Name is one of the attribute. The Name attributes is different…