IBM E02HMLL-I Implementation Guide - Page 213

Using, Integrated, Environment

Page 213 highlights

Chapter 12. Using Integrated Test Environment Integrated Test Environment is a workbench perspective that enables you to conveniently test an entire business process interface. An interface centers around a collaboration object, so a test performed in Integrated Test Environment centers around a collaboration object as well. To perform a test in Integrated Test Environment, you must do a number of tasks such as register InterChange Server Express as a test server, create a test unit, deploy the components in the interface to the server, start the server, emulate the connectors in the interface, and exchange business objects between the connectors. The following characteristics describe the use of Integrated Test Environment: v You only have to perform some of the tasks a single time. For instance, you only have to create a test unit for an interface once. v You have to perform some tasks multiple times. For instance, you might test how an interface responds when you change the value in a particular attribute, so you will have to send business object requests for the interface multiple times. v You can perform some tasks in multiple ways. For instance, you can deploy components to the server before you prepare the test unit, or you can deploy all of the components for a test unit by using the Task Manager view, or you can deploy single components by using the Test Unit view. Most of the sections in this chapter describe tasks you must perform as part of the greater task of performing a test, or describe particular elements of the Integrated Test Environment interface. The section "Performing a test using Integrated Test Environment" on page 255 describes the workflow you will typically follow to perform a single test of a single interface. It is a list of references to the sections in this chapter that document the specific sub-tasks and interface elements, and it provides a task-oriented structure for using Integrated Test Environment, whereas the other sections are more interface-oriented. In situations where you might perform a task in one of several ways it references the way that is most effective and efficient in most situations. To use this chapter as best as possible, it is recommended that you follow the workflow described in "Performing a test using Integrated Test Environment" on page 255, but substitute particular sub-tasks from other sections where the recommended approach is not appropriate for your environment or situation. Registering InterChange Server Express as a test server To test an interface using Integrated Test Environment, you must register the InterChange Server Express instance so that it starts in test mode. This allows Integrated Test Environment to do things such as the following: v Locate the batch file that starts InterChange Server Express, so that it can be started from within the Integrated Test Environment interface. v Re-direct the InterChange Server Express logging and tracing information to a view within Integrated Test Environment, rather than to the console. To register InterChange Server Express in test mode, see "Registering an InterChange Server Express instance" on page 43 and perform each of the steps © Copyright IBM Corp. 2001, 2004 201

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302

Chapter
12.
Using
Integrated
Test
Environment
Integrated
Test
Environment
is
a
workbench
perspective
that
enables
you
to
conveniently
test
an
entire
business
process
interface.
An
interface
centers
around
a
collaboration
object,
so
a
test
performed
in
Integrated
Test
Environment
centers
around
a
collaboration
object
as
well.
To
perform
a
test
in
Integrated
Test
Environment,
you
must
do
a
number
of
tasks
such
as
register
InterChange
Server
Express
as
a
test
server,
create
a
test
unit,
deploy
the
components
in
the
interface
to
the
server,
start
the
server,
emulate
the
connectors
in
the
interface,
and
exchange
business
objects
between
the
connectors.
The
following
characteristics
describe
the
use
of
Integrated
Test
Environment:
v
You
only
have
to
perform
some
of
the
tasks
a
single
time.
For
instance,
you
only
have
to
create
a
test
unit
for
an
interface
once.
v
You
have
to
perform
some
tasks
multiple
times.
For
instance,
you
might
test
how
an
interface
responds
when
you
change
the
value
in
a
particular
attribute,
so
you
will
have
to
send
business
object
requests
for
the
interface
multiple
times.
v
You
can
perform
some
tasks
in
multiple
ways.
For
instance,
you
can
deploy
components
to
the
server
before
you
prepare
the
test
unit,
or
you
can
deploy
all
of
the
components
for
a
test
unit
by
using
the
Task
Manager
view,
or
you
can
deploy
single
components
by
using
the
Test
Unit
view.
Most
of
the
sections
in
this
chapter
describe
tasks
you
must
perform
as
part
of
the
greater
task
of
performing
a
test,
or
describe
particular
elements
of
the
Integrated
Test
Environment
interface.
The
section
“Performing
a
test
using
Integrated
Test
Environment”
on
page
255
describes
the
workflow
you
will
typically
follow
to
perform
a
single
test
of
a
single
interface.
It
is
a
list
of
references
to
the
sections
in
this
chapter
that
document
the
specific
sub-tasks
and
interface
elements,
and
it
provides
a
task-oriented
structure
for
using
Integrated
Test
Environment,
whereas
the
other
sections
are
more
interface-oriented.
In
situations
where
you
might
perform
a
task
in
one
of
several
ways
it
references
the
way
that
is
most
effective
and
efficient
in
most
situations.
To
use
this
chapter
as
best
as
possible,
it
is
recommended
that
you
follow
the
workflow
described
in
“Performing
a
test
using
Integrated
Test
Environment”
on
page
255,
but
substitute
particular
sub-tasks
from
other
sections
where
the
recommended
approach
is
not
appropriate
for
your
environment
or
situation.
Registering
InterChange
Server
Express
as
a
test
server
To
test
an
interface
using
Integrated
Test
Environment,
you
must
register
the
InterChange
Server
Express
instance
so
that
it
starts
in
test
mode.
This
allows
Integrated
Test
Environment
to
do
things
such
as
the
following:
v
Locate
the
batch
file
that
starts
InterChange
Server
Express,
so
that
it
can
be
started
from
within
the
Integrated
Test
Environment
interface.
v
Re-direct
the
InterChange
Server
Express
logging
and
tracing
information
to
a
view
within
Integrated
Test
Environment,
rather
than
to
the
console.
To
register
InterChange
Server
Express
in
test
mode,
see
“Registering
an
InterChange
Server
Express
instance”
on
page
43
and
perform
each
of
the
steps
©
Copyright
IBM
Corp.
2001,
2004
201