Zyntax Tuxedo Adapter for IBMRational Robot Test Manager
Zyntax Tuxedo Adapter for IBM/Rational Robot & Test Manager© Zyntax Consulting BV 2005/03/03 Zyntax Tuxedo Adaptor 1
Introduction • Tuxedo is middleware for C/S applications • Robot supports Tuxedo until v 6. 4 • Zyntax Tuxedo Adaptor (ZTA) provides support from v 6. x • ZTA works at a higher level than Robot, so for Tuxedo 6. x is already an advantage • ZTA is product of Zyntax, licensed separately 2005/03/03 Zyntax Tuxedo Adaptor 2
Overview Tuxedo in Robot RTL API Adapters ZTA Future plans Conclusion Questions 2005/03/03 Zyntax Tuxedo Adaptor 3
Tuxedo (1) • Tuxedo is middleware – streamlines C/S traffic – data conversions – load balancing – transactions (rollback) 2005/03/03 Zyntax Tuxedo Adaptor 4
Tuxedo (2) Client Tux Lib BBS 2005/03/03 Zyntax Tuxedo Adaptor Tux Server Lib 5
Tuxedo in Robot (3) • Rational recording: sock_send "`6 dd 44888 c 1 fba 2 ee 9080 aa 864 f 9 ea 6 c 0`&|d`8 bb 2 fa 1 cc 8`x. Z`1 "#h`9 dd 84 bc 390065 fa 320047 b 9 d 3 af 9 cee 34 ad 5570 b`AK 9^K`a 09 "b 5`~^`5 c`5 A`b 8121 bbecbd 6`7 M`ed`. %b@: G`e 005 d 20 f 29 cc 42 "1 a`A^L`dcfac 5`? Q`8 c`g. Pr`adfb 260 e 69 c 7603512801 ed 360 fe "$`1 c`M^`f 91 d 9 b 0021 e 7 f 2135 e 1775 dbc 017 c 691640612 a 188700 "b 55 a 9 db 2 a 6 c 4278 c`IXC`d 26 a 9 a 258588 b 220 aa 8 b 968 a 7 ebccf 81 • No recognizable data (encrypted / compressed? ) 2005/03/03 Zyntax Tuxedo Adaptor 6
Tuxedo in Robot (2) • ZTA captures at the API level (instead of socket level) tpalloc(_idata, "VIEW 32", "view 1", 28); data(_idata, _short, "svalue", "5"); data(_idata, _long, "lvalue", "10"); data(_idata, _string, "data", pad 1("Test tpcall(”TIMER 1", ”SVC 1", _idata, 28, _odata, tpfree(_idata); 2005/03/03 Zyntax Tuxedo Adaptor 7
RTL API Adapters (1) • Targets 1 application library (libwsc. dll) • Consists of 4 libraries: – Recorder (writes calls to Wat. CH file) – Filter (selects elements from WCH) – Generator (generates script from elements) – Replay (execute script commands) 2005/03/03 Zyntax Tuxedo Adaptor 8
RTL API Adapters (2) • Recorder App Client Calls App Lib Intercept Writes (ZTA) Writes Calls Recorder 2005/03/03 Zyntax Tuxedo Adaptor Wat. CH 9
ZTA (1) • Data description for VIEWs (. DEF) VIEW view 1 # TYPE CNAME short svalue long lvalue string data END FBNAME - COUNT 1 1 1 FLAG - SIZE 2 4 20 NULL VALUE 0 0 "" – Compiled into. V or. VV – Used by ZTA to translate data • Similar for FML (. FLD) 2005/03/03 Zyntax Tuxedo Adaptor 10
ZTA (2) • Environment – Tuxedo • • • VIEWFILES 32, VIEWDIR 32 (. DEF files) FLDTBLDIR 32, FIELDTBLS 32 (. FLD files) TUXDIR (libs & binaries) WSNADDR (BBS) WSENVFILE (file to hold others) – Zyntax • ZYNTAX_HOME (license & options) 2005/03/03 Zyntax Tuxedo Adaptor 11
ZTA (3) • Script Development – SHOW_ODATA – Record-time return codes in script – get_data_hex / data_hex • Script “beautifiers”: – Grouping per call – Support for annotations (split script, …) – Quote environment (not cross-platform) 2005/03/03 Zyntax Tuxedo Adaptor 12
ZTA (4) • Cross-platform – LINUX, HPUX, Sun. OS, Windows NT/2000 • License support – GPG signed clear text license • Options through GUI (per DLL) 2005/03/03 Zyntax Tuxedo Adaptor 13
Future Plans • Documentation • Script cleanup (loops, subs) (v 3. 0) • Simultaneous recording of Tux & HTTP 2005/03/03 Zyntax Tuxedo Adaptor 14
Conclusion • ZTA adaptor – Affordable, Quick to implement and – Switches focus to how application behaves under multi-user load, if it meets requirements, etc. • Technically – Makes testing possible – Allows understanding what application is doing – Provides ability to generate realistic scripts 2005/03/03 Zyntax Tuxedo Adaptor 15
Questions • Questions? Visit http: //www. zyntax. com Email info@zyntax. com Call +31 -20 -6155033 Post a nice letter… PO Box 51336 1007 EH Amsterdam The Netherlands 2005/03/03 Zyntax Tuxedo Adaptor 16
- Slides: 16