WebSphere MQ Workflow 3.4.0 Java Generic API Test / Prototyping Tool

[prev][next][parent][TOC]

ExecutionService - Example

Testcase
/* example 13 */

Agent.Agent
  agentHdl                   1
End 

Agent.setLocator
  agentHdl                   1
  locator                    RMI_LOCATOR
End 

Agent.setName
  agentHdl                   1
  name                       "rmi://fmtc732.ae.boeblingen.ibm.com/WORKFLOW"
End 

Agent.locate
  agentHdl                   1
  systemGroup                "SYS_GRP"
  system                     "FMCSYS"
  executionServiceHdl        1
  xpFmcException             FMC_OK
End 

ExecutionService.logon2
  executionServiceHdl               1 
  userID                            "ADMIN"
  password                          "password"
  sessionMode                       PRESENT_HERE
  absenceIndicator                  NOT_SET
  xpFmcException                    FMC_OK
End 

ExecutionService.createWorklist
  executionServiceHdl               1 
  listName                          "Admin_WL"
  persistentListType                PRIVATE
  owner                             "ADMIN"
  description                       "My WL without Filter"
  filter                            "NAME LIKE '*'"
  sortCriteria                      "NAME ASC"
  threshold                         100 
  worklistHdl                       1 
  xpFmcException                    FMC_OK
End 

ExecutionService.queryWorklists
  executionServiceHdl               1 
  worklistArrayHdl                  1
  showAllObjectNames                true
  xpFmcException                    FMC_OK
End 

ExecutionService.timeout
  executionServiceHdl               1 
  xpValue                           180000 
End 

ExecutionService.setTimeout
  executionServiceHdl               1 
  timeout                           60000 
End 

ExecutionService.systemName
  executionServiceHdl               1 
  xpValue                           "FMCSYS"
End 

ExecutionService.systemGroupName
  executionServiceHdl               1 
  xpValue                           "SYS_GRP"
End 


ExecutionService.userID
  executionServiceHdl               1 
  xpValue                           "ADMIN"
End 

ExecutionService.logoff
  executionServiceHdl               1 
  xpFmcException                    FMC_OK
End
 
 

Result

MQSeries Workflow 3.2.0 Java Generic API Test Tool (JGATT), Driver v32_63
Test case: k:\fle\example13.dat
Wed Apr 21 17:47:59 CEST 1999 
============================================================================
Operating system:              Windows NT 
Operating system version:      4.0
Operating system architecture: x86 
Java version:                  1.1.6
User account name:             kurtfle 
----------------------------------------------------------------------------
+++> 
============================================================================
===> 
Parsing the input file ...
===> 311 msec 
============================================================================
Agent.Agent
parameter: agentHdl                           = 1 
============================================================================
Agent.setLocator
parameter: agentHdl                           = 1 
parameter: locator                            = RMI_LOCATOR = 5 
============================================================================
Agent.setName
parameter: agentHdl                           = 1 
parameter: name                               = "rmi://fmtc732.ae.boeblingen.ibm.com/WORKFLOW"
============================================================================
Agent.locate
parameter: agentHdl                           = 1 
parameter: systemGroup                        = "SYS_GRP"
parameter: system                             = "FMCSYS"
parameter: executionServiceHdl                = 1 
..........RC Report.........................................................
AcException = none = 0 
XpException = none 
+++OK+++
============================================================================
ExecutionService.logon2
parameter: executionServiceHdl                = 1 
parameter: userID                             = "ADMIN"
parameter: password                           = "password"
parameter: sessionMode                        = PRESENT_HERE
parameter: absenceIndicator                   = NOT_SET
..........RC Report.........................................................
AcException = none = 0 
XpException = none 
+++OK+++
============================================================================
ExecutionService.createWorklist
parameter: executionServiceHdl                = 1 
parameter: listName                           = "Admin_WL"
parameter: persistentListType                 = "PRIVATE"
parameter: owner                              = "ADMIN"
parameter: description                        = "My WL without Filter"
parameter: filter                             = "NAME LIKE '*'"
parameter: sortCriteria                       = "NAME ASC"
parameter: threshold                          = 100 
parameter: worklistHdl                        = 1 
..........RC Report.........................................................
AcException = none = 0 
XpException = none 
+++OK+++
============================================================================
ExecutionService.queryWorklists
parameter: executionServiceHdl                = 1 
parameter: worklistHdl                        = 1 
..........RC Report.........................................................
AcException = none = 0 
XpException = none 
+++OK+++
..........Object Names Report...............................................
array size = 1 
0) Admin_WL
============================================================================
ExecutionService.timeout
parameter: executionServiceHdl                = 1 
..........ValueReport.......................................................
AcValue = 180000 
XpValue = 180000 
+++OK+++
============================================================================
ExecutionService.setTimeout
parameter: executionServiceHdl                = 1 
parameter: timeout                            = 60000 
..........RC Report.........................................................
AcException = none = 0 
XpException = Expected RC missing 
============================================================================
ExecutionService.systemName
parameter: executionServiceHdl                = 1 
..........ValueReport.......................................................
AcValue = "FMCSYS"
XpValue = "FMCSYS"
+++OK+++
============================================================================
ExecutionService.systemGroupName
parameter: executionServiceHdl                = 1 
..........ValueReport.......................................................
AcValue = "SYS_GRP"
XpValue = "SYS_GRP"
+++OK+++
============================================================================
ExecutionService.userID
parameter: executionServiceHdl                = 1 
..........ValueReport.......................................................
AcValue = "ADMIN"
XpValue = "ADMIN"
+++OK+++
============================================================================
ExecutionService.logoff
parameter: executionServiceHdl                = 1 
..........RC Report.........................................................
AcException = none = 0 
XpException = none 
+++OK+++
============================================================================
====== Test case ended normally ============================================