The BL Tester utility used to verify the functionality of the business
objects (the existing BO or the new BO created using the SDK) before linked it
to a user interface.
Install the BL Tester:
To install this utility go to Epicor905\Utilities\BL-Tester folder in the application server and
you will find setup files. Just click on the setup file and follow the steps.
Set the BL Tester options:
In the first run of the utility it will ask you to enter the below
options:
-
Application server name.
-
Port Number.
-
User name.
-
Password.
-
The path of Directory for Business
Objects which you want to test.
Then you will press “update” button.
Note: you can change these options in feature from Tools menu
=> Options.
Start you first Test
- From the “File” menu choose “Open”.
- You have to select the business object
that you want to test, and click “Ok” button. The BL Tester method viewer will
appear.
- You can now test BO’s methods by specifying the parameters and then
click on “Invoke” button then the results will be displayed in the grid under
the “results” tab.
- You will see the response time in
millisecond and this will help you to evaluate the performance.
Note: the results will be displayed only for the methods which
have a return type (Dataset, Boolean …etc.) and you can get the return type
when you choose the methods from the method’s drop down list.
Examples:
Assume you wish to test the Epicor.MFG.BO.Part.dll so just follow
the above steps to open it.
Test GetList Method:
This method has three input
parameters (whereClause, pageSize and absolutePage) and one output parameter (morePages)
and the return type is Dataset and the below is how to specify the input parameters
value:
-
whereClause: For this parameter I will
enter the where clause condition as follow:
PartNum = ’PMS-01’
-
pageSize: 0 (this is the default value)
-
absolutePage : 1 (this is the default value)
Then click invoke button. The result will appear in the results
tab and if the part exists you will see the all the data for the part ’PMS-01’.
Test PartExists Method:
This method has one input parameter (PartNumber) and the return
type is Boolean and the below is how to specify the input parameter value:
PartNumber: 30001
Then click invoke button. The result will be true (If the
part exists) or False (If the part not exists).
Note: if you specify wrong value (for example you specify string
value for int parameter) to the parameter you will get an error message.
is there a way I can use this tool as load tester against Epicor ?
ReplyDeleteHas anyone ever been able to successfully run this tool with it loaded on their PC (versus directly on the server?) Thank you in Advance!
ReplyDelete