Showing posts with label Sterling OMS. Show all posts
Showing posts with label Sterling OMS. Show all posts

Sunday, July 5, 2020

Jmeter Automation using Java

Introduction:

Even though I come from a development background, I had to work as a support team member for some time for one of the project. It's quite common in IT industry that depending upon the project need your role will change accordingly even if it doesn't match with your skills set. 

There were many repeated tasks on daily basis which we have to do. Like - sending reports to business teams, reprocess exceptions, close alerts, process stuck orders etc. I did not like this repeated work and thought of automating few things. I observed the pattern for few tasks was like -
  • Connect to DB
  • Execute a query to DB
  • Export the output to CSV file
  • Execute existing Jmeter script which reads data from CSV file and invokes API/Service

Sunday, June 28, 2020

Exposing REST Services in Sterling OMS

Introduction:

Prior to IBM Sterling OMS v9.4, it was only possible to expose APIs/Services as SOAP web service. REST API features are enabled now with standard installs and updates of IBM Sterling OMS v9.4 onwards.

XML API (XAPI) capabilities are now accessible through a simple REST API layer. Developers can create, read, update, and delete resources by using HTTP calls that are compliant with REST standards.

Both SOAP and REST have their own Pros and Cons. But here we will just focus on basics of enabling REST services with examples.