Previously, the request for a SmartCloud vmware image was done by sending an email to firstname.lastname@example.org. This has seen changed with the transition to Softlayer.
Test Automation and Service Virtualization Learning Circle
devthack 060001027R Tags:  rtw integration-testing rtcp devops service-virtualization rtvs 5 Comments 3,986 Views
The subject of service virtualisation can seem a little bewildering when you first approach it. I find a couple of simple demos, or walked-through examples, can help to clear through the hype of a dozen high-level articles on a subject. With that in mind I've put together a selection of short, worked examples to gently guide you into the world of Rational Integration Tester (RIT), Rational Test Control Panel (RTCP), proxies, agents. etc...
Rational Integration Tester - First steps starts with basic RIT functionality, through to simple service modelling, service virtualisation and more advanced subjects such as sift-and-pass-through. It also refers to a GitHub project, recently made available by the RIT development team, containing demo material. the demo material in a bit more detail. The material includes pre-built RIT projects and a sample calculator application.
Hope you find these resources useful !
P.S. You can raise problems/suggestions for more examples via the GitHub issues page.
In order to enable those that are relatively new to the Green Hat Technology I am trying to come up with a small number (4-7) demo scenarios that could be demonstrated in under 10 minutes each. Each scenario would demonstrate one of the key values of the Green Hat technology.
I would very much appreciate input relative to the scenarios.
Here are a few that I have come up with. Please feel free to provide constructive criticism.
Please feel free to comment on these and please suggest others.
Over the next few weeks, I will be devoting a series of blog postings to the concept of the message “interceptor” and in particular to the Rational Integration Tester HTTP Proxy. You can find the first installment at The Rational Integration Tester HTTP Proxy: What is it?
Feel free to provide feedback on my blog or here on the proxy or any other topics you would like me to cover in the future.
The development team for Rational Integration Tester (and associated products) have a new home on GitHub. This is where you'll be able to download sample RIT projects, and other assets. There are current 3 projects:
How to ignore the XML element in content verification response data under IBM Rational Performance Tester?
Lets start of with an example where you have created web services scripts under IBM Rational Performance Tester and have included content verification point for the response. The couple of elements in response
In the above response xml, there are two xml elements namely <brcMarket> and <ImpProsecutionFlag> which are not there in the Expected value, and these elements will be present in the response xml for different set of test
data which you tend to pass in request xml. If you want to remove these elements in contain verification point(Expected value) it might fail for the iteration where these elements returned in the response for other set of test data. So how do we handle such situations?
This is possible using the popup action against a specific xml node to create a 'small' contains vp, and to assemble several of such vps so that (for this use case) the message can be tested:
And then using the same process a contains vp that will check another element is created etc. etc.
Final test with several contains vp:
Doing this way would allow the end user to execute tests with vps that will focus on individual nodes ( case id, contact id ... score ) ignoring the potential brcMarker and impProsecutionFlag nodes.
End user test structure:
madhusekharbanda 270007EN28 1,698 Views
Can you please share the link to learn the RIT learning videos and to have handson as well on RIT so that i can take certification of RIT
Can you please share any sample questions to crack the certification.
Please drop me @ email@example.com
Ask “Why?” Ask “How?”
Or if you prefer the more boring title that I decided against: “Consider statements of fact in context and question them.”
This is something that I believe everyone should keep in mind when looking at any product but it is especially prudent when looking at integration testing and service virtualisation. I like to get things right which makes giving advice difficult because there’s no way of knowing whether that advice is going to be taken out of context, so I try to stick to facts but (after many years of learning the hard way) it turns out that facts are just as useless if the context is not known. So now I find myself doubting everything and asking, “Why?”; “How?”.
Vendors like to provide lists of what their products can do and in the integration testing and service virtualisation market that tends to be a list of messaging technologies; ESB platforms; protocols and message formats. But a list doesn’t tell the whole story and is dangerous to take out of context (don’t get me wrong they have their uses but…). Here’s a classic example. Customer has ESB-X and wants to automate their testing of it in isolation. They know they need to trigger the ESB somehow and they know that it dependant on other services to function (they are refreshingly current in their thinking). So they find vendors with integration testing and service virtualisation tools. All good so far, but then Customer asks each vendor, “Do you support ESB-X?” and this is where the trouble starts.
At this point everyone consults the lists and ESB-X may or may not be listed. At this point the risk for the customer is that they end up with a product that is not best suited to their needs. There is also risk for the vendor who may miss an opportunity to gain a new customer by supplying the best tool for the job. You see ESB-X may not be listed but if for example your implementation of ESB-X uses web services and JMS with XML based messages to communicate with the world then you may need to be looking for those key words. Perhaps it gets more complex and you need support for a custom protocol or message format. As a customer if the vendor says, “yes we support ESB-X”, you should ask how and enquire what benefits that gives. As a vendor you should ask the customer why they need ESB-X support and how their implementation integrates with the outside world. There are various methods to claim support for a given technology both through technical means and by adjusting testing practice. Both Customer and Vendor will be surprised what capabilities may be obscured by those lists and equally what future pains those lists may be hiding.
Of course the conversation needs to get more in-depth and this forum will include more articles investigating the details of Why and How. Please leave comments and questions to help drive future articles to expand on these (in my opinion) under-used and under-rated questions in the context of integration testing and service virtualisation.
I have more technical/in-depth, content in the works (a developerWorks article), but a recurring theme in my discussions with IBM teams and customers who are new to the SV game is confusion around what proxy settings need to be applied - and where - and why.
Here's one situation: Imagine system 1 sends a request to system 2, and as part of its processing system 2 sends a request to system 3. We want to record tests to be able to test our SUT (system 2). If we configure system 2 to use our proxy, then we will never see system 1's request to (or response from) system 2. For that to happen, we need to configure the client that sends the request --- system 1. Seems simple, right? But this is where I see the most confusion, because this can be a subtle point to grasp.
The flip side of the coin is recording virtual services: if, as above, we have system 1 configured to use our proxy, we could create virtual services but they would be useful only for system 1 (and that is not our SUT today - tomorrow, it might be!). In fact, we can record the traffic that goes between system 1 and 2, and between system 2 and 3, at the same time. RTW is very powerful this way.
Once someone "gets it", the conversation goes much faster, logical topology diagrams are much more quickly produced, we can identify those systems where we need to make configuration changes or install agent technologies, and network security changes can be made with more confidence (configuring firewalls to allow traffic between relevant client systems and RTW/RTVS, and between RTW/RTVS and relevant back-end systems).
What we record between system 1 and system 2 can be saved as a test and used to test system 2 in the future. What we record between system 2 and system 3 (and/or system 4) can be used to create virtual services ("stubs") to be able to run all kinds of tests against system 2 while never hitting system 3 & 4 (the "live back-ends"). We can even use the tests we recorded (traffic from system 1 to system 2) and the stubs at the same time! At the far extreme, we can run tests in RIT against system 2, have system 2 use virtual services instead of live back-ends, and record at the same time (a great way to validate & debug your virtual services).
This diagram has resonated with my audience in the past, so I thought it would be good first blog entry (this was produced using the sketching module in Rational Software Architect, by the way - there's a demo at the link).
If you change the SUT to system 1, then whatever calls into that system would be recorded to be able to test against system 1, and we could virtualize system 2 so system 1 could run its regression or other tests even when system 2 is down.
Dennis Schultz 270003GYWR Tags:  integration-testing proxy http rational rit recording 3,506 Views
The second blog in my series on the HTTP proxy is ready!
RIT - Testing Tibco Business Works, Tibco Business Events, Design Time Libraries and Tibco Business Work code Coverage Report using Rational Integration tester
Satya Nayan 270006WYNX 3,664 Views
How Rational integration Tester can be used for testing code written in Tibco Business works and Business Events.
This also expalins how to get code coverage report to know how many % of code are executed as a part of your regression testing pack and if not 100% then why?
Level : Advanced Topic
Reader is expected to have basic understanding of Tibco products specially Tibco Active matrix Business works, Enterprise Messaging System ( Tibco implementation of Java Messaging system)
Creating new project
(2) Add Design time libraries under test. If you want to exclude DTL and decide to test later, you can do so by adding DTL through logical view later.
(3) Associate Business Works TRA file ( Tibco Run time agent) - You can do this later as well
(4) At the end of step 3, you will have Tibco Business works BW project created in logical view and Tibco run time agent created in physical view associated with one another
(5) Usually your test pack contains messages as per your requirement and various assertions logic. Ensure your test pack has all the positive and negative test cases
(6) There are couple of config change you need to make for testing BW deployed code or testing with Tibco designer. Let me explain you why changes are needed below
1. A tibco BW project is designed to accept incoming customer arrival soap request over https. Further, Tibco BW project is designed to validate incoming soap traffic against Schema before passing to another BW component
2. Customer Arrival soap request contains header and Body and responsible for sending enterprise event to Tibco Business events if schema validations passes
3. Tibco Business events does complex event processing on the incoming request and generate enterprise event for data analytics i.e Number of arrivals vs number of sold products
4. Tibco BW to Tibco BW communication is through EMS using JNDI connection via SSL mutual authentication
5. Tibco BW and BE project are both designed to pass soap fault with correct error code back to consumer of the service
Tibco Active Matrix Business Works - is a scalable, extensible and easy to use integration platform that allows to develop business integration projects
Tibco Business Events Complex event processing - Application which can generate meaningful business events by doing complex event processing based on pattern using decision manager
Rendezvous - Tibco RV is a software product that provides message bus for enterprise application integration
Satya Nayan 270006WYNX 2,407 Views
a)Get the Installer by login to Passport Advantage site - Web Assembly Version
Notes: Passport Advantage Site has two version of installer.
Web version, they call Web Assembly, is easy and fast to install but has limitations.
Limitations: If your organization uses proxy, scrict group policy and routing script in internet explorer, This web version will not work as it requires some files on fly during installation.
You also need to specify correct physical proxy server in order to downlaod the web assembly version. As i know, many organization uses proxy server which may or may not be on physical server, you might have hard time to install using proxy. Anyway, perform test connection to know if the settings are correct. If security policy on internet explorer has strict restrictions then even after successful download, you will face issue during install.
I would recommend not using Web assembly version if proxy is used to connect to internet.
b) Get the Installer by login to Passport Advantage site - Non Web Assembly Version
1. Select Following package
IBM Rational Integration Tester V8.5.1 Multiplatform Multilingual (CIS9EML)
IBM Rational Integration Tester Control Panel Multiplatform Multilingual ( CIS9FML)
IBM Rational Integration Tester Platform Pack Multiplatform Multilingual ( CIS9GML)
IBM Rational Integration Test Work bench Setup Multiplatform Multilingual (CIS9HML)
IBM Rational Integration Test Work bench Core Multiplatform Multilingual (CIS9IML)
IBM Rational Integration Test Quick Start Guide Multiplatform Multilingual (CIKQ2ML)
2. Extract it and run the Installtion Manager with the tsf file selected for all the above. When doing the extraction extract all the .zip files downloaded above to the same directory, they will still have a subdirectory underneath this one for each product. This prevents Installation Manager from having to prompt for the location of each product's repository
3. Remaining steps are self explanatory.
Licnesing and RIT Tester agent
Login to IBM Rational License Key Center, click on get License, store the floating or single use file into a directory and through Installation Manager you can configure licenses.
More Info can be can be found at following location
RIT Tester Agent - It is a java process used by the performance test controller to start test engines and probes. If you are not using performance test server, do not spend much time on this, you are good to go. Note that agent is part of performance test server or virtualization server assembly.
There are tech notes about the config file change you need to do before Agent can start and work correctly for perforrmance test server
1. Do i need to update the Libraries in the Library Manager for different protocol.
No. RIT is exact replica of Green Hat Tester product. Library Manager automatically finds all the jars or related libraries
2. Do i need to upgrade the DB schema?
No. Exisiting DB schema is good enough if your Green Hat version is 5.4.1. RIT will work with that schema
3. Do i need to uninstall GH Tester before installing RIT?
I would recommend to uninstall GH Tester before installing RIT.
Good Luck !!!
Rational Integration Tester uses a graphical model to define portions of the System Under Test to help accelerate the creation of tests and stubs. I recently blogged about how this implementation of model-based testing is different than past approaches.