public void WhenAction1() { //API endppints should be also configured somewhere p1.ReturnResponseCode(ConfigurationManager.AppSettings["BaseURI"] + "/", "greeting"); //please update the base uri & detaile duri here extent1.SetStepStatusPass("When the user requests GET"); }