TLS/HTTPS Mock Server #148
Replies: 7 comments 6 replies
-
Not sure, how to do it. We will look into it. |
Beta Was this translation helpful? Give feedback.
-
PactumJS mock server by default runs as http server since it will be a local mock server. Can you elaborate on your usecase that needs mock server to be on https ? |
Beta Was this translation helpful? Give feedback.
-
Hi. +1 for this request. Here's my usecase: |
Beta Was this translation helpful? Give feedback.
-
@4ekki would your code/setup work if pactum mock server runs on https with self signed certs on localhost? |
Beta Was this translation helpful? Give feedback.
-
Released in v3.5.0 |
Beta Was this translation helpful? Give feedback.
-
@ASaiAnudeep and @leelaprasadv can Pactum Mock Server handles https requests and will it be able to handle client certificates with pfx format . i am using pactum 3.6.0 version but still facing issues while using mock server with https requests. and would like to know more about how to handle client certificates with pactumjs. @4ekki @rcurran1221 : could you help me on how did u resolve this issue with pactumjs |
Beta Was this translation helpful? Give feedback.
-
@leelaprasadv : could you please help me on how to validate mock service response while using mock.addInteractions. Unable to understand mock server is running or not |
Beta Was this translation helpful? Give feedback.
-
Hello All!
How do I enable HTTPS/TLS for a Pactum Mock Server? I can't seem to find any reference to it in the documentation.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions