Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Extension Tool to pass additional detail for error?

Parasofttoudaya
Parasofttoudaya Posts: 232 ✭✭
edited September 2017 in SOAtest

Hi Team,

public boolean customResponse(Object input, ScriptingContext context)
{

String PassFailDetail;

return tsetCaseStatus;
}

is there any way i can pass additional parameter which gives more information about pass/fail??

Basically I am able to get a string value which gives more information, we wanted that string value should come in report.

Regards
Udaya

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,309 ✭✭✭

    In case this helps you, the following method "Reports an error message and causes the tool to fail". Notice how you can pass both error "message" and error "details".
    See com.parasoft.api.ScriptingContext.report(String message, String details)