Friday 18 December 2015

Using OATS and OVR - The TLA edition

OATs is very good for load testing JD Edwards.  I think it's handy to use at all phases of the software lifecycle, but especially for testing a tools release, an upgrade or platform migration.

I've recently been involved in getting OATs working with OVR, this was a bit more of a challenge, as the standard correlation library that comes for JD Edwards does not do any of the OAT's session correlations - therefore, it'll never work "out of the box".

There are a bunch of internal header values used for communicating to OATS that you need to manually keep track of and substitute in your scripts, namely:

  • tid
  • xtoken
  • xdm
  • xdo
  • resourceCacheID
Many of these can be set up in a new correlation library, but some cannot.  It's a little more difficult when the substitutions need to be done on _xdo and also xdo when using correlation libraries.

I'd generally show you a pile of code snippets and screen shots, but I'm struggling with blogging from windows 10 at the moment to blogger, so these are not going to happen.

The process is to search the incoming HTML for something like xdo, and create a variable out of that.  then replace all other instances of xdo in the script, like I said in a perfect world this would work by adding this rule to the correlation library - but the world is not perfect.  The other thing to remember is that this substitution must be done in RAW.

Ensure that your variable rule is something like "&_xdo=(.+?)&_xt=", it needs to be nice and generic to ensure that you are getting the xdo variable.  Note also that if you call a subsequent OV report in the same JDE login session you'll need to refresh this and the xtoken (yes, painful).

Make sure you then prescribe the variable substitution with the following:
xdo=((.+?))(&|$)

Resource cache is done with
cache:oracle\.xdo\.common\.io\.Cache(.+?)\.tmp#

I then say replace in all locations.


Wednesday 16 December 2015

Blogging has been made almost impossible

Wow, this is tough.  I use windows live writer for blogging to blogger.  The reasons are simple, I have a source code formatting plugin which I love, and I like being able to cut and paste pictures easily - not much else to be honest.

I've recently gone to windows 10, and now I cannot blog.

I cannot blog with windows live writer 2011
I cannot blog with windows live writer 2012
I cannot blog with open live writer...

I've enabled the google 2 phase security - I've allowed certain app security - wow - I think that I've done everything possible, but I cannot seem to tear a post out.  I'm about to look for an alternate app, but not too sure how successful I'm going to be with that...  Watch this space.