-
why JTest can not generate negative int for me
My class has a addBalance(int money) method, why test cases generated by JTest always generate positive param for this method, why not generate negative param calss constructor seen below: public BankAccountSimple(String customer, int deposit) { if (!validCustomer(customer)) { throw new IllegalArgumentException("Bad…
-
Multiple DataSources
Is it possible to use multiple datasources in a SOAP Client test? I want to use a Database Data Source for one value in a test and a Generated Data Source for a second value in the test. However, the dropdown in the upper right for Data Source only allows one. Is there anyway around this restriction? Perry Hoekstra
-
Using regular expressions in jython methods
I would like to use python/jython regular expressions in a method. However, when I try to import re I get an errror ImportError: no module named re Here's a toy example: [CODE] import re def parseXMLElement(input): pre = re.search("<*?>", input) print pre Am I mistaken about the module to import? All the online examples of…
-
Section 508- 1194.22- Invalid errors detected ?
Please see message belowHi, In a JSP, When I define a Label outside an if construct, then I use that label within a TD tag inside the if construct, like the following format : CODE<LABEL NAME> = "VALUE" <LABEL NAME> TAG = "VALUE" " . . if-else construct { <TD ... ?class = .... ><%= LABEL NAME %>...</ TD> "<input…
-
Section 508- 1194.22- Invalid errors detected ?
Please see message belowPlease see other thread.
-
rounding in Python
rounding a returned value in PythonHi SoapTest, I have the nice little script written that will return a value that I will be using to compare to one of my results. I am having a problem, however, with length of the value. I need it to be only two digits after the decimal point. I can't seem to find a way to truncate in…
-
Profiles used in Scenarios
Is there any way to specify which profiles are used by a particular load test scenario? I am running a load test where I need to measure the performance of three message types (small, medium, and large). A test has been created for each message type and I am trying to establish a baseline. Currently, I select a single test…
-
ANT task for codewizard
Hi, I would like to integrate codewizard in my ANT task other than with the "exec". Does anybody know an existing script doing that? THX in advance for your help.
-
rules applied by default by code wizard
Hi all, I am currently integrating Codewizard in my company mmiddleware and I could not find the configuration file where the rules applied are defined except the file .psrc where all the users rules are defined. I am more precisely looking for the rules Effective C++ Items, More Effective C++ Items, Meyers-Klaus Items and…
-
Path persistence for Import Test By Reference
I've been using import tests by reference. None of the tests I import are in the same directory as the test I am working on (or a subdirectory). I would prefer not to have to make hard links (or soft links) to these tests but here's what happens: 1. Take an existing test (#1) 2. Remove some set of tests and recreate them…
-
Python api documentation
Is there any documentation for the python libraries soaptest.api and com.parasoft.api?
-
CodeWizard Installation problem
CodeWizard Installation failedHi all, I have downloaded and installed CodeWizard, but it failed to start it. Do I need to set up some files before run the srcipt? I am running HP-UX 11.00 (PA). The following is the error message displayed:…
-
Clarification on Pre, Post nodes - Unit Testing
How to use themHi, I am unable to completely understand the Pre, Post and the OutCome Conditions in .TEST -Unit Testing I have a method which does not take any parameters nor return any parameters. The method when called , uses a public variable and performs some manipulations to the variable so that the value of the…
-
Possible Violations ?
Hi, I noticed that most of the errors that Webking generates of the severity type "Possible Violations" or "Possible Severe Violations" are just warnings. Further, they all seem to be warnings of JSP or HTML errors(like a missing header in a table for example), rather than accessibility errors. Any clarification on this…
-
Static Analysis with *.jar and *.zip files ?
Hi, Is there a way of performing static analysis with jar and zip files that contain jsp files ?
-
Updating a Webking Project from the command line
Hi, How can one remove/add files to a project from the command line ? Thanks
-
Custom Link Check
I am having trouble running link checker on some documentation. The problem is the software that is providing the documentation has it's own version of a 404 error. Instead of actually throwing a 404 error it just displays it's own "broken link" page with some text on it. The page is not an actual url however. It is just a…
-
Converting time stamp recived to different format
converting time stampsHi Parasoft, I have a method that when called returns date/time stamps as follows: 2004-06-26T12:21:11.0000000-04:00 I would like to use that date/time in an XML Databank but the format is not allowed by my system. Do you guys have a way that I can convert it to the following format:…
-
How do I add additional CLASSPATH's to SOAtest?
If you would like to use custom Java classes with SOAtest the following method. 1) Click the Customize Preferences button in the SOAtest toolbar (Alt+F2). Click the "System Properties" tab and add any required class folders or Jar files.
-
fatal: librt.so.1: version `SUNW_1.2' not found?
How do I fix this?When I try to run Jtest on Solaris 8 I get this message: CODEError: tgsutil not loaded java.lang.UnsatisfiedLinkError: /devel/home/parasoft/jtest5/plugins/com.parasoft ..eclipse.api.solaris_5.1.51/jtest/lib/libtgsutil.so: ld.so.1:…
-
Postconditions that depend on method arguments?
How to validate method outcome.Question: How can I write DbC that validates a method outcome based on method parameters. For example: For a method named 'add': if (a == 10) and (b == 20) the return value must be 30 otherwise it's a postcondition violation.
-
Webking Load testing
cant find the default scenariosHi, By default webking 4.1 provides 4 virtual user scenarios rite: the bell, the buffer test, the steady load and the linear increase? But when I do a load tests I can only find 1 default scenario the steady load. How do I find the other scenarios?
-
Can I run WebKing from the command line?
Currently, We have an automated build process and like to integrate it with WebKing (from the command line) to check its web accessibility. So, I have the following questions: 1. Can I run WebKing from the command line? And how can I do it? 2. Can I run WebKing on Installshield? And how can I do it? It would be nice if you…
-
Regression Control Removal
removing regression control from a PathHi if i have regression controls in the entire path tree and if i need to remove do i have to manually right click each node to remove it? Or is thr some way to remove it for the entire path like how we create the them for the entire path?
-
Webking tests in WSAD
Is functional testing possible in WSADI have integrated webking4.1 and WSAD5.1. In the webking option is the toolbar the tests available are only the static tests. So for functional testing or using the other tools do I have to transfer the to Webking and perform the tests? Is thr any other way? Thanks!
-
JavaScript Rules
Is there a good document on how JavaScript rules work? What I am trying to do to understand how it works is to write a rule that takes an node, checks several attributes, and sometimes need to walk up the DOM tree to check for another element. I think its easier to do this in JavaScript than doing the rule building, but…
-
Adding new Metrics
Where should I add new metricsHi, I do not quite understand how the mark up should be developed to add a new metric. Where should I save the implemented class? Could some one tell me how I should go about adding a new metric? Thank you
-
Changing/Checking severity level of rules
unable tochange/find the severity levelsHi 1. I have to change the severity level of certain exisiting rules(eg. PB.SBC,OOP.AHSM, CODSTA.VDT etc). But when i right click the the rule i can not see the rule wizard option. How do I change the severity of these rules? 2. After i run the jtest, how can find out the severity…
-
.Test and source control integration
.Test and source control integrationHi, I need to integrate .Test in file check-in process , i.e to verify that the file are OK after check-out/check-in. The problem is that .Test works at .Test project level or at assembly level ( while nUnit works at file level, i.e nUnit test is written per single *.cs file) How i can…
-
Instrumentation taking a long a time to execute.
I have a very large application, that normally takes about 3 minutes to perform all its memory allocations. It never seems to finish even the allocation phase with insure. I let it run all night, in the morning it was still allocating. One of my co-workers said that insure enters an infinite loop whenever it encounters a…
-
SSL Handshake
I had a new issue with the Soap test now. I am trying to execute the soap seervice which is internally protected by a SSL Certificate. That SSL certificate is not public, When I try to access this service through soapTest I am getting SSLHandShakeException. Please let me know are there any workaround to uncheck this…
-
CSS Rule Question - matching an unknown property
I am trying to match the non-standard behavior: property. I tried a Unknown Property and a simple text output,but it never gets hit for a .css file with this css: * {behavior:foo} Any ideas?
-
Monitors in load testing
how do i view them?How do i view the monitors i've set while running a load test. Specifically, how do i view them at particular instances?
-
Multile Logins
HI I am tryig to run a load test for 500 users And i am having a multiple login problem, that means same user is trying to login multiple times and i dont want that. Webking documenatation says , to avoid multiple login from same user we need to unchek "Allow multiple instances" , i tried this one but , my script is…
-
Mozilla
Mozilla browser supportDoes webking provide support for Mozilla browser ?
-
Integrating alternate editor
What wild cards do I use to construct command line arguments to be passed to my editor of choice (VisualSlick Edit). I've figured out %F for the filename... what do I use for line number? Where is this documented in the documentation? The section on Editor integration doesn't say what parameter carries along the line…
-
How to extract data from a test and use it later
Hi there. I'm a newbie and i need some help with Soaptest: I need to perform a lot of tests, many of which need as input some data from the previous test. In my first test i send some information for authentication (user, password), and i receive many xml elements, one of which is 'sessionNumber'. Then, i need to use this…
-
jtest.TimeoutError?
Is this configurable?We're running into a problem where some of the code needed to build and run one of our test cases takes longer than 30 seconds, but Jtest times out with the jtest.TimeoutError error. Is this error configurable or bypassable? Thanks.
-
Jtest useful in eXtreme programming?
How do I make it useful?Question: We write all our Junit tests before actually writing the method implementations. This is following the eXtreme Programming paradigm. How can Jtest be useful in this situation? Answer: Since the method actually has to exist before the junit test (but the method body can be empty and return…
-
How to get html report from jtestcli?
-report seems only to give xml report...How can I get the jtestcli to give me an html report? -report usage seems to say only xml report is generated. And... when it finishes the tests it says, "wrote report to .xml"
-
Generating and running Unit Tests
The documentation says for the option 'Generating and Run Unit Tests' the Jtest generates Test Cases for classes without existing test classes and classes with old test classes. If i change the code and the old test cases are no longer valid, will this option overwrite the old test class with new teast cases or will it use…
-
Building on One machine to run on another with the same architecture
In order to build on one machine and run on another machine of the same architecture First the concerns for all Unix based platforms The bin and lib directories have to have been created on the run machine in the same directory tree as on the build machine. So if you were running on a Solaris machine and on your build…
-
WebKing won?t test or record my secure web app
Enable SSL: 1. Click on the ?Customize Preferences? icon on the icon toolbar 2. Select the ?Misc? tab 3. Check ?Trust all certificates? in the SSL section of the pane
-
.Test query
please check the queryHi all, What is the learning time estimated for this tool? The end output is that all manual test cases should be automated. I saw some samples from the test cases that this tool auto-generates. These test cases can only test technical robustness of the code, not its correctness. i. It means that we…
-
.Test testing tool
Querry regarding the toolHi all, Can ASP.NET be tested using this tool? We have an ASP.NET based application that uses strong design concepts. More specifically, can this tool handle deep inheritance (multiple level inheritances) of ASPX pages? We earlier evaluated ASP Unit and found that it could not. Regards, Hemachandra.
-
Exporting test configuration
to list rules used to analyze the sourceHi, I have different JTest configurations for different categories of validations (say must-have-rules, nice-to-have-rules). Once reports are generated, I would like to know which set of rules were used while analyzing the source code and generating the report. So I am wondering if…
-
XML Encryption using 3DES
can anybody tell me how to use encryption tool to send a secure soap request through the soap client I want to use 3DES to encrypt the whole message... I tried it by using the external key option but by any way it was not able to send a encrypted data.... what is the exact method....to send a encryption request thanks…
-
Does Jtest support J2ME for mobile applications?
Does Jtest support J2ME for mobile applications?
-
Forum should include Insure++ workarounds.
As a user of Insure++ I appreciate the support I get when I make a phone call. However, I would like a place(forum) I can talk to other actual users of Insure++ for possible ideas on things enherent in the design: How to debug real time programs? How to determine where the bug is if insure++ does not show it? What deep…
-
EJB Testing
How does Jtest deal with EJBs?========================================== J2EE - The How's and What's ========================================== The most popular question Jtest end-users ask is "Can I test my Ejbs?". The answer is, yes. The second most popular question end-users ask is, "How?" "Enterprise web applications,…