Skip to main content

Epicor Business Logic tester (BL Tester) utility

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.

Comments

  1. is there a way I can use this tool as load tester against Epicor ?

    ReplyDelete
  2. Rebecca Farhat-Singelis21 September 2016 at 15:40

    Has 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

Post a Comment

Popular posts from this blog

Epicor 9 ToolBars

Like any other application, Epicor has list of toolbars and it uses the Infragistics controls and you can modify these toolbars in your code by adding new tools or change the properties for the existing toolbars and Tools.

How to Use the Business Activity Query Export Process

Business Activity Query Export Process let you export the BAQ data in XML or CSV format. You can export the BAQ data manually and you can schedule it to run automatically (Daily, Weekly, ,Monthly,Once,startup..etc) and you can configure this in the “system agent maintenance” and I will explain this later in this article.