-
How can I check if code meets specifications/reqs?
Parasoft Jtest automatically creates test cases for your code and captures its behavior. You can then validate the code's adherence to specification/requirements by validating the captured behavior. Additionally, Jtest can monitor a running application and capture tests with the ?real data values? and ?real sequence calls?…
-
Can Jtest facilitate testing of complex systems?
In many situations, it is extremely difficult to consistently run tests on a complex system (for example, if your code is altering databases, depending on functionality provided by the application server or web container, and/or communicating with other systems outside of the control of your development group). Parasoft…
-
How do I achieve 80%+ coverage with Jtest?
Parasoft Jtest typically achieves 60-70% code coverage ?out of the box? by analyzing your code. Additionally, by monitoring a running application, Jtest can create tests with the ?real sequences of calls? and ?real data values? used as the application is exercised. If necessary, these test cases can then be extended to…
-
How can Jtest leverage my existing JUnit tests?
Parasoft Jtest can leverage your existing test cases in a couple of ways. First, during test execution Jtest will automatically detect your existing JUnit tests, and provide a combined report for all the tests executed. This report will include comprehensive code coverage calculations and all exceptions found. Second,…
-
How do I improve code security with Jtest?
Parasoft Jtest scans your Java code for various security violations so they can be addressed development, which is a critical step in building security into your application. The best approach to building safe applications is to build security into the application software (as opposed to testing for security…
-
How do I test servlets/EJBs with Jtest?
Testing any and all Java components that depend on the presence of web containers or application servers can be very complex. To ensure that these components are operating properly, a three-fold testing approach is recommended. 1. While you are in development and are not yet ready to deploy the components on the server:…
-
How do I build and test robust Web Services with Jtest
Testing any and all Java components that depend on the presence of web containers, application servers, or messaging layers can be very complex. To ensure that these components are operating properly, a two-fold testing approach is recommended. 1. Test your implementation layer: Use Parasoft Jtest to analyze this code-- as…
-
How do I support code reviews with Jtest?
Since Jtest's automated coding standards analysis virtually eliminates the need for line-by-line inspections during peer code reviews, these reviews can focus on high-return value analysis, such as examining design, algorithmic, or implementation issues. Moreover, Jtest's new Code Review module helps automate the code…
-
test executes 5 times, store data using XML Data Bank in Writable Data Source
Saving mult iterations of a responseI am using our login service that access a data table and runs 5 times, once for each login name that i have listed in the table. After the I run the service, I can see that it executes once for each of the 5 rows in the data table. The traffic viewer shows 5 responses and 5 differenct…
-
Cannot access global properties from a script
Is it possible to access global properties such as database account information from a script? Mark
-
Creating a plugin for WK - docs
Needed doc how to create a WK pluginFrom "WebKing.1\plugins\README.txt" I understood that WebKing supports custom plugins. Is there any documentation on how to create a plugin? (What structure it should have & what interfaces to implement, what it can(not) do ... .) Thanks!
-
Command line and project tree
Is it possible to run a test from the command line on a specific part of the project tree? In my project I have several Eclipse plugins which I test against other plugins (eg for broken links from one plugin to another) and I need to test each plugin separately. This is easy enough from the GUI, but can it be done from the…
-
viewing errors in a LoadTest
I see that when you run a load test, you can view the errors that occured. However, it only shows the faultCode, faultString, and faultActor. Is it possible to view the actual request and full response that caused the error during the load test? Thanks so much for your help! Mary
-
Path recording problem
I've recently installed WebKing. I'm trying to run a few scans on a dynamic web application, so I tried to record a path with Internet Explorer. Well, Internet Explorer loads, I fill in the application's login form information, but when I submit I just get an empty screen in Internet Explorer. I see that WebKing recorded…
-
External Tool Usage
How is External Tool inteded to be used?First Question: What is the difference between the Input field and the argument list with the External Tool? Basically, I don't understand what the intent was for using Input vs an Argument except that Input is used for a very long argument such as an XML file. Also can they be…
-
Penetration Tests
How to set them upHello I have been tasked to set up Penetration Tests. Using the wizard I have created the Test Suites for the various tests, Parm Fuzzing, SQL Injections, etc. but am not sure as to what goes into the Data Source Attck Fields. I'm assuming in the Successful & failure fields I enter the data that is needed…
-
Using values returned from Database as input for next request
I am new to SOATest and have already worked with QTP web services addins. I wanted to know how can I store the value that is returned as a response from the DB to the web service. Basically I want to use this response as an iput to my next request
-
no. of requests made per second with N users
The attached graph generated (detailed report) after my load test. I have selected a scenario, which contains three unit test clients, and numbers of users is the controlled parameter here. The N users concurrently invoked the scenario for 5 minutes of duration. "Test Completion Rate (1/sec)" is at y-axis and x-axis the…
-
Function templates
Hello, I am having difficulty matching code patterns involving function templates using the rule wizard. It seems that context a(b) does not work when "a" is function template. Here is the template: template <typename object> void ptr_remove(const object*& to_remove) { if(to_remove != NULL) delete to_remove; to_remove =…
-
Test Suite Reference
I noticed the menu option File->Add Test->Test Suite->Import. What is the best way to use this? Can test suites imported by reference be used to share method tool scripts without making extra copies of them in the new project? Mark
-
Dynamic data - scripting and auto
Is there a way to control the automatic generation of data for a field in a test case? How exactly does the "Auto" option work? I would like to randomize the end of a string example: user101, user205, user500 ... I don't want to list them manually in a table ... Also, I have a field which I would like to auto generate, but…
-
Relative Path and External Tool
Persist as relative path optionIs there a way to make the external tool a relative path? If not, can that be added in?
-
HTTP Get and Post requests with SOAtest
HTTP Get and Post requests with SOA TestJust wondering, If we can send HTTP Get/Post requests with SOA Test and receive the response back ? Or SOA test works only with SOAP requests ?
-
Could not make connection error - Call Back URL
Hi Cpark, 1) I have just started learning SOATest. I went thru the client testing topic on Tutorial and when i tried running emulated client, i got the following error 'Could not make connection: Connection timed out: connect:. What does it mean? How to get rid of this problem. 2) What is an call back url? As i am a newbie…
-
help me
about webkingI want to know. how i can use asp or jsp make webking auto read url and report a file with *Txt about error. thank everyone. My English is not good.
-
Reading parameters form a file
Reading parameters form a fileMy requirement is to execute test suites against multile EndPoints with different SOAP headers. Can SOA Test read "EndPoint" or "WSDL URI" or "SOAP Headers" form a flat-file ?
-
search and replace
Hi, The search and replace function seems not working for the target directory in the return value under the traffic object created via method. The result is no occurance found. Here is structure: test suite (name) response --> xml data bank traffic object --> traffic viewer traffic object -->(function name) return value…
-
Unable to open TCM Files
Unable to open TCM FilesI am running WebKing version 5.5 (Build date July 07, 2006). I have two problems currently. The first is I uploaded a rules file to our TCM server. Now I can not find any place in the tool to select the rules file. The online help states: Users of TCM can open WebKing projects, rules, and rules sets…
-
WebKing Accessibility Testing In a Group
WebKing Accessibility Testing In a GroupWe would like to use WebKing for accessibility testing for our group. We currently use JTest against any new files being checked into source control. We would like to do the same thing with WebKing for all modified JSP files being checked in. With JTest we can define the rules etc.…
-
READ_DANGLING in C++ destructor
I have seen that several times I will receive a READ_DANGLING inside of a destructor while accessing class member variables. Is Insure++ marking the memory as deallocated as soon as it hits operator delete() but prior to the actual destructor call?
-
Unexpected paths?
Unexpected paths?What, by definition, are 'unexpected paths' ? From what I can tell, the manual does not say. I am speculating that, in the case of an if () {} else {} construct, the 'if' path is the 'expected' one and the 'else' path is the unexpected one. Is this the case? If so, where does this terminology come from?
-
C++ Test Data Source Generation Issue
C++ Test Data Source Generation IssueWhat headings do I need to use in a CSV file to enable setting of Buffer[0], Buffer[1], etc. for the following function: unsigned char CalculateChecksum(unsigned char *Buffer,unsigned char Length).
-
HTML report's graphics from command line
how to?Greetings We have been using the command line invocation of Load Tests for some time, and the HTML reports are very useful, yet they seem to have a limitation. When in GUI you view a HTML report the graphics to generate appear in an intermediate form, where you choose how many graphs to include and what parameters…
-
HTML report's graphics from command line
how to?Greetings We have been using the command line invocation of Load Tests for some time, and the HTML reports are very useful, yet they seem to have a limitation. When in GUI you view a HTML report the graphics to generate appear in an intermediate form, where you choose hoy many graphs to include and what parameters…
-
Test Flow Logic Question
Hey guys I have a test case which I use 3 calls to succeed. 2 calls to obtain information and store certain output in an XML Databank and the third is the service under test. The service under test has a datasource of accounts which it rifles through. What I need to do is create a test flow which forces the Service Under…
-
Total Response Time in Reports
Question on this parameterGreetings We have been looking for some information on the Help and documentation wothout luck, the question is: ?What does Total Response Time represents? (or how is it caculated). We thought it shuld be the sum of the Response times for the elements of a page, and in static elements it seem ok…
-
Regarding Parasoft BPEL Engine & WS-security
Hi All, I am new to the Parasoft ,so I want to ask one very basic question, I am using JWSDP 2.0.Actually I like to invoke couple of secure services running on seperate server.These services are using WS-security.So I am just wondering whether Parasoft BPEL Maestro Engine can use JWSDP,as our secure services are using…
-
Conformance Report
I am trying to figure out how to share a WSDL ws-i conformance report but it seems that the XSL files and other links in the report are hardcoded for my machine. Is there a way to send the report to someone or to download it as a unit with the XSL and links as relative paths to the report itself?
-
Parameterizing within collections?
is parameterizing a word?Hey folks - first post here... go easy on me... I'm in the process of setting up my first set of parameterized tests in SOATest, using the SOAP Client in Form XML mode/view. My question pertains to stuffing data into an element within a collection - primarily, how is it accomplished and persisted…
-
Simple JavaScript scripting example - Random Number
I have tried to make a JS-script, but I find it difficult, ref. FAQ Question 15 (p.414) in the User's Guide. 1) Is the description of this FAQ Question updated according to version 4.5 of SOAtest? I have problems to understand the explanation. 2) Is it possible to make a small example in JavaScript (there are few examples…
-
Reports - Test count without execution
Is there a way to acquire a count of the individual tests in a specified directory (not test files or suites, but tests inside the suites)? This is for planning purposes so we can estimate effort required to update the tests based on infrastructure/architecture updates. Richard
-
Support for Sun Studio 11 with Insure++
Insure for Sun Studio 11Could you please let me know if your latest version of the insure++ works with sun studio 11 (Solaris 2.8)
-
Scripting input field data
Hi there, I would like to know if it is possible to add codes to dynamically define the value of an input field. For example, if I need to perform a boundary test for a date field that allows to be post dated up to 90 days. Instead of inputting a fixed date, and that cannot be regression tested in the future (as the date…
-
Change XML format for SOAP messages
Is there a way to change how the XML for a soap message is created? For example, is there a way to change what namespaces are assigned to elements? I know this can be done in Literal View, or Form XML, or even scripted XML, but I am hoping there is a more global method. When I use Form Input and add a header for…
-
Questions about Ignoring
Few questions regarding the ignore feature. 1) How would I ignore something that webking hasn't seen a difference in yet, for example a date? Right now I have to wait and test every day, month and year before webking will see a difference and allow me to ignore them. Here's the html code, notice that the snippet…
-
What is endpoint of a client (from SOAtest)
If you look into the right habd GUI of any client in SOAtest project, we will see the endpoint with radio button option "Default", "CUstom" and "UDDI service key". whenever new client created in SOAtest the endpoint is same as url specified to create client. Could you provide more details on this how I can use this feature…
-
Can you save a project's URLs to a csv file?
Saving project URLs to csv fileI just want to simply create a csv file from a projects URLs...is this possible? I know that once you run a test and you right click on the results window, you can save to a csv but I want a way to capture the complete list of URLs in a csv.
-
Penetration Testing
Webking and Penetration TestingHow could one go about using Webking to perform penetration testing? With the new regulations requiring penetration testing on all sites that transact using Visa or Mastercard by June 30, I'd like to know how to go about using Webking to do it for me. Thanks! PJM
-
Error while checking industry webstandards
Unknown attribute in BODY: oncontextmenuhi, i am trying to test my application coding for industry standards complience. i got an error saying "Unknown attribute in BODY: oncontextmenu". but, i want this feature to be there in my screens. how can i get this done. Is there any other alternate method to achive this in html…
-
Command Line Load Test
How to run it this way.Greetings We are trying to run some Virtual User Load Test in the command line mode, the test already works well in the grphic mode, but when we try to call it from the command line it doesn't do a thing. the script we are using is: echotime open .\Agenda\Agenda.wkj #refresh echotime loadtest -report…