title: How to start a mock server in my ProviderService and call a webservice?
body: <p>How to create a mock server to call a webservice in my providerservice class.</p>
  
  <p>I created the clientPactTest class with some interactions, created json file, published it, but got stuck at the Verfication part in the ProciderService.
  In my scenario i have to call a webservice in my Provider service. Its a typescript project. </p>
  
  <p>Please answer my queries:</p>
  
  <p>1) Right now iam running my webservice at command line at localhost port 8080. Then I created a ProviderService with a Pact mentioning the provider url and hostname as localhost and port 8080. So that all my tests hit the webservice which I started at command line. Is this the right approach?</p>
  
  <p>2) Iam a bit confused as at many websites its mentioned that we dont run the actual service for pacts verification and we should create a mock server. So if I create a mock server, do i have re write all the endpoints in my providerservice file, the way it is mentioned in the actual webservice ?</p>
  
  <p>Please clarify.</p>
  
  <p>Thanks,
  Aruna</p>