Assetize

How we check all 287 Maximo screens after a change

We check every Maximo screen after a change. On a client’s MAS 9.x system, REA read the test recordings and the run went from 70 minutes to 8, with 54 journeys passing instead of 34.

The script works. Monday morning, a planner finds Work Order Tracking lost a tab, and nobody can say what moved.

The five-minute change

Every Maximo developer has had this Monday. Export the script from DEV, import it into PROD, test the script, go home. On Monday a planner finds Work Order Tracking lost a tab and Approve has gone from Select Action.

Three things went wrong, and none of them are about the script. Nothing recorded the move. Nobody looked at the screens. Nobody can say what each site holds, so DEV, UAT and PROD drift apart one quiet import at a time.

A change is a work order

Maximo already taught us the rule: no work without a work order. mxR applies it to changes. A change is raised in WAPPR, the admin reads exactly what will move and approves it, mxR moves it to one site and runs the job plan of tests. If a gated test fails, the work order stays INPRG and nothing closes.

The statuses are the ones your planners use every day, so the admin reads a change the way they read any other job.

An inspection route for 287 screens

A technician on an inspection route walks past every asset, takes a reading and compares it with last time. The golden test does the same to your screens.

Once, on a known good day, it opens every screen the test user can see and writes down the title, toolbar, tabs, Select Action entries, search fields and saved queries. That is the baseline, the first meter reading. After every change it walks the route again and compares. Screens with a search dialog, saved queries or records also get those journeys: open the dialog and cancel, open the query menu, open the first record and walk every tab and sub-tab. On the lab that is 894 tests. It opens, looks and cancels. Nothing is saved.

We proved it by breaking it on purpose: three edits to a copy of the People baseline. All three came back in words, and the journey nobody touched passed.

The results on the lab: all 286 screens opened and matched in 8 min 16 s (WO1008), 34 of 34 deep journeys passed in 6 min 5 s (WO1009), and the full weekly route passed 892 of 894 in 50 min 21 s (WO1010).

1) PERSON People opens
   Error: Select Action entries gone: Approve Payroll
2) PERSON People: More Search Fields opens and cancels
   Error: the search dialog reads "More Search Fields" (the baseline recorded "Advanced Person Search")
3) PERSON People: a record opens and every tab and sub-tab works
   Error: tabs gone: Payroll

3 failed, 1 passed (1.4m)

Read the black box

Fifty minutes is fine once a week. To run more of it on every change, we needed to know where the time went.

Every test already records a Playwright trace: a flight recorder for the browser, with every click, screen change and network call. Nobody reads 1,137 network calls by eye, so we handed the recordings to REA, Reverse Engineer Anything, an open-source toolkit that lets an AI agent take software apart and explain it, and that keeps what it can prove apart from what it infers.

REA read the 11 traces of the WO1007 smoke run. 1,007 of the calls were static files at about 1 ms each, so they were never the issue. The one that mattered was two calls long: the Maximo shell’s long poll, which sits open for 1,125 ms and then opens again, all day.

Kind of call                 Count   Typical
Static files                 1,007      1 ms
Other                           95     83 ms
Opening a screen (loadapp)      14    235 ms
REST (api/oslc)                 11     92 ms
Classic async events             6     92 ms
Sign in and session              2     87 ms
The shell's long poll            2  1,125 ms

Wait for the title bar, not for silence

A test that waits for the network to go quiet waits for something the Maximo shell never does. The mxR docs put it plainly: REA is where the method came from. Three rules now open every mxR screen test.

One: open inside the shell you already have. One sign-in and one Maximo session for the whole run, and each app opens inside the shell frame instead of a fresh page. Two: read the loadapp answer first, because it already says whether the app opened. Three: wait for the screen’s title bar or its first control, never for network idle.

REA read the traces of the same journeys before and after, with real records on BEDFORD. Work Order Tracking (create, approve, cancel) went from 28.8 s to 14.2 s, because it now opens two apps inside the frame instead of reloading the shell twice. The asset lookup went from 21.6 s to 14.0 s. The whole run went from 73.6 s to 61.2 s, from 4 shell loads to 1 and from 902 network calls to 749. Screens opened in 183 ms at the median across 37 opens.

On a client’s MAS 9.x system: 70 minutes down to 8

The lab told us where to look. A client’s MAS 9.x development system showed how much REA can do when you hand it everything. We pointed it at the recordings the tests already make, with login cookies and tokens removed before it saw anything, and asked what really happened, request by request. Every check stayed read-only and no data was changed.

The app was already there. Maximo returned each app in 0.1 to 0.3 s and finished loading about 5 s later. The tests then waited another 30 s for screen elements MAS 9.x does not draw. They now wait for Maximo’s own “app loaded” signal.

A background call never goes quiet. The alerts check holds a request open for up to 41 s, so “wait until all traffic has finished” waited on it every time. The tests now wait only on Maximo’s own requests.

The page says what happened. The page Maximo returns already states whether the app opened, crashed or refused the user. The tests read that first, so a crash fails in 2 s with Maximo’s own message instead of hanging for up to 7 minutes.

Not every red is a bug. 13 apps failed because the test user had no access (BMXAA2278E), and 2 app ids are different applications on that system. Both are now reported as what they are.

The lockout. Each restart after a failed test opened a new Maximo session, and closed sessions kept their slot until Maximo refused the login. The tests now share one browser and one Maximo session for the whole run and sign out once at the end.

The result on 10 core apps: 73 deeper journeys ran in 8 minutes instead of 70, with 54 passing instead of 34, none stuck until timeout and none newly broken. The average journey went from 35 s to 6 s. Across all 113 apps, the average open went from 38 s to 7.5 s, and 93 opened and passed. Every test leaves a record of its steps, screen captures and every request with its timing, and each finding links back to the REA evidence behind it.

Next, REA reads how Maximo routes Select Action menu items, a record’s first tab and the More Search Fields dialog, the clicks behind the remaining 19 journeys.

73 deeper journeys, 10 core apps     Before     After
Journeys passed                          34        54
Stuck until timeout                      30         0
Run time                             70 min     8 min
Average journey                        35 s       6 s

113 apps, each opened once            Before     After
Average time to open an app            38 s     7.5 s
Login lockouts                  part of run         0

Back in the lab: four weekly runs, four fixes

Running 894 browser tests back to back finds things a short test never meets, so we ran the full route four times on purpose.

WO1010 passed 892 of 894. One browser page crashed on Capability, and the OMP walk opened a different first record than the baseline did, so the record key now goes into the baseline. WO1011 showed more page crashes, and runs now recover from a crash with memory and page size flat. WO1012 met Maximo’s limit on UI sessions per user, which mxR now reports as an infrastructure finding with the property to raise. WO1013 lost the lab connection part way, which mxR now reports as a lab finding instead of 425 broken screens.

Every one of those fixes ships in mxR 0.3.9.

What to take to your own Maximo

Test the screens, not just the script. Users live in screens, and a change can pass every API test and still lose a tab.

Write down a good day. A baseline turns “something looks off” into “tabs gone: Payroll”.

Read the recording before you blame Maximo. REA found why tests hung, why apps “failed” and why logins locked out, request by request.

Wait for the title bar. The Maximo shell is always listening, so the network is never quiet.

To run this on your Maximo, start at /mxr and the golden screens section of /mxr/docs.

Sources

More field guides