Create Adhoc Test

ULB admins have an option to create a test. This is an adhoc test which does not have any workflow involved. By default, it will be in the submitted state when created.

Create Adhoc Test Flow

  • From the home screen, click on the Add Test Result link.

  • The user is redirected to Create Test screen. This page has two form cards. One is for entering Plant Name, Treatment Process, Stage and output type. The other card has a list of benchmarks according to the selection of the above form.

  • Note: After filling the first form, only the list of benchmarks will show up.

  • If any quality criteria is not found for the selection of parameters, an error is shown and user has to select another criteria.

  • After filling the forms, click on submit to create a test.

  • After a successful creation, the system automatically redirects to the view test details screen of the newly-created test.

Create Adhoc Test

API Details for Create:

  • Use pqm-service.

  • URL for inbox "/pqm-service/v1/_create".

  • Sample request object:

  • Sample curl for inbox:

Role-Action Mapping:

Role-action mapping is done for the "/pqm-service/v1/_create" and "/pqm-service/v1/search" endpoint for a ULB admin user role, that is:

Was this helpful?