From: Gurpreet A. <gur...@pe...> - 2007-08-08 13:31:13
|
Hello, It would be great if you can tell us if we can use STAF/STAX for Web Service= API (WebMethods are written in .Net using Standard SOAP/XML protocol) testi= ng using STAF. Our client wants to evaluate STAF for WS API level functional= automated testing. What kind of infrastructure is provided in STAF for crea= ting Client Proxy, for serialization - de-serialization and HTTPS/SOAP/XML s= upport? Thanks in advance. -Gurpreet DISCLAIMER=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= This e-mail may contain privileged and confidential information which is the= property of Persistent Systems Pvt. Ltd. It is intended only for the use of= the individual or entity to which it is addressed. If you are not the inten= ded recipient, you are not authorized to read, retain, copy, print, distribu= te or use this message. If you have received this communication in error, pl= ease notify the sender and delete all copies of this message. Persistent Sys= tems Pvt. Ltd. does not accept any liability for virus infected mails. |
From: Phil K. <pkl...@us...> - 2007-08-08 15:34:17
|
I though I throw my two cents in here as I have been doing something similar, I wrote a STAF service wrapper around a set of API's that my test team does functional testing for. These API's generate events that are sent from one system to another using SOAP/XML protocols. The testing is driven through STAX jobs. Writing a java service wrapper for the java API's was fairly simple though time consuming, the one I did for the C API's was much harder but doable, though if I to do it over I use a java service interface using the java Native interfaces instead of creating STAF service written in C/C++, as the testing of the API's often cause crashes and core dumps, and as the C/C++ STAF services are loaded as extensions of STAF, these crashes would take STAF down with it, and my developers hated going through the cord dumps because they had to sort out the STAF stuff in the dumps and would always want to blame STAF first. With java you can start a STAF service in a different virtual java machine with the service so that if anything go wrong with the API under test only the service crashes, not the whole of STAF. Unfortunately the services I create for this testing is customized for these API's so the services are not reuseable for testing with any other API's set, however the basic concept can be applied to any API set. You just need to write the STAF service wrapper for the set if API's that your testing. Note that this method of testing is not fast, as you need to create commands for each API method call as well and commands to create and control all of the objects the are passed into these API calls, But as this is functional testing, not performance testing that should not be a problem, though some performance testing can be done if you write it into the test service. If you interested knowing more, I can talk about the concepts, But I can't go into the API details as that info is confidential you understand. Phil Klickman(pkl...@us...) 512-838-3919 ----------------------------------- "Complexity exists only in the minds of the bewildered!" "The more helpful you make something the less helpful it becomes." ----------------------------------- "Gurpreet Anand" <gur...@pe...> Sent by: sta...@li... 08/08/2007 08:05 AM To <sta...@li...> cc Subject [staf-users] Require information on STAF/STAX Hello, It would be great if you can tell us if we can use STAF/STAX for Web Service API (WebMethods are written in .Net using Standard SOAP/XML protocol) testing using STAF. Our client wants to evaluate STAF for WS API level functional automated testing. What kind of infrastructure is provided in STAF for creating Client Proxy, for serialization - de-serialization and HTTPS/SOAP/XML support? Thanks in advance. -Gurpreet DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ staf-users mailing list sta...@li... https://lists.sourceforge.net/lists/listinfo/staf-users |