Export Manager Tests

Export Manager Tests

Test Description provided by Mesa: http://ihedoc.wustl.edu/mesasoftware/9.10.5/doc/pdf/exp_mgr.pdf

MESA Configuration

Adjust entries for Application Entity Title, host and port of DCM4CHEE in the MESA test configuration $MESA_TARGET/mesa_tests/rad/actors/expmgr/expmgr_test.cfg:

# These entries describe the system under test
TEST_EXPMGR_AE = DCM4CHEE
TEST_EXPMGR_HOST = dcm4chee-host
TEST_EXPMGR_PORT = 11112

DCM4CHEE Configuration

Map the disposition text value ("Dr.Jost teaching file") used by both Export Manager Tests to configuration file dcm4chee-tce/mesa-expmgr.conf, by enabling the prepared entry in $DCM4CHEE/server/default/conf/dcm4chee-tce.conf:

# Enable for MESA Export Manager Tests
Dr.Jost\ teaching\ file=dcm4chee-tce/mesa-expmgr.conf

# Enable for MESA Export Selector Tests
# Dr.Jost\ teaching\ file=dcm4chee-tce/mesa-expsel.conf

Add an entry for the MESA Export Receiver using the AE Management function of the Web Application:

AE Title:

MESA_EXPRCR

Host:

mesa-host

Port:

2360

Reset attribute DelayReasons of the TCE Manager service to its default value
using the JMX Management Console http://localhost:8080/jmx-console:

DelayReasons:

TCE011^IHERADTF
TCE012^IHERADTF
TCE013^IHERADTF
TCE014^IHERADTF
TCE015^IHERADTF
TCE016^IHERADTF
TCE017^IHERADTF
TCE018^IHERADTF

Run and evaluate the tests

Start the Mesa Servers

$ cd $MESA_TARGET/mesa_tests/rad/actors/expmgr
$ scripts/start_mesa_servers.csh

Export Manager Test 3001: Simple Single Study Teaching File Export

Start the test:

$ perl scripts/expmgr_tfcte.pl 3001 4

and repeat entering RETURN, until the test script exits.

Evaluate the test

$ perl 3001/eval_3001.pl 4

which should results in

Total Differences: 0
Logs stored in 3001/grade_3001.txt

Export Manager Test 3003: Teaching File Export with Wait for More Data Sent via DICOM Export

Start the test:

$ perl scripts/expmgr_tfcte.pl 3003 4

and repeat entering RETURN, until the test script exits.

Evaluate the test

$ perl 3003/eval_3003.pl 4

which should results in

Total Differences: 0
Logs stored in 3003/grade_3003.txt

Stop the Mesa Servers

$ scripts/stop_mesa_servers.csh