pact-stub-server
pact-stub-server copied to clipboard
Standalone pact stub server
Here is error from PHP side: ``` There was 1 error: 1) StubServerConsumer\Tests\StubServerTest::testStubServer Symfony\Component\Process\Exception\ProcessTimedOutException: The process "'/Users/runner/work/pact-php/pact-php/src/PhpPact/Standalone/Installer/Model/../../../../../bin/pact-stub-server/pact-stub-server' '--dir=/Users/runner/work/pact-php/pact-php/example/stub-server/consumer/tests/../_resources' '--extension=json' '--loglevel=debug' '--port=7201'" exceeded the timeout of 60 seconds. /Users/runner/work/pact-php/pact-php/vendor/symfony/process/Process.php:1150 /Users/runner/work/pact-php/pact-php/vendor/symfony/process/Process.php:460 /Users/runner/work/pact-php/pact-php/src/PhpPact/Standalone/StubService/StubServer.php:39...
It would be helpful if the gRPC stub server supported matching and responding to gRPC interactions based upon the protobuf plugin. It appears that the current (v0.5.3) [code](https://github.com/pact-foundation/pact-stub-server/blob/v0.5.3/src/server.rs#L135) may only...
### Problem If I run the server as follows: ```yaml pact-stub: command: - "-p3001" - "-dpacts" container_name: my-pact-stub image: pactfoundation/pact-stub-server ports: - "3001:3001" tty: true volumes: - "./test/pacts/:/app/pacts:ro" ``` and...
It would be nice to see pact-foundation in AWS Public Gallery https://docs.aws.amazon.com/AmazonECR/latest/public/public-gallery.html (Since Docker Hub limits are pain)
Thanks for adding support for filtering the provider-name and consumer-name. It will be helpful if we have support for using regex for provider-name and consumer-name. Our use case is we...
It would be nice to be able to filter pacts from broker by branch name.
While using 0.4.4 I'm able to run the server when a header key contains a "." for example: `"company.my-company-token" : "tokenValue"` After that version every time I try to run...
https://github.com/pact-foundation/pact-stub-server/issues/27 references running the server in HTTPS: > It can run in Docker and use HTTPS. How can I configure that? There appears to be no reference to HTTPS or...
Generator `MockServerURL` is used like this: ```javascript { 'pact:matcher:type': 'regex', 'pact:generator:type': 'MockServerURL', regex: '.*(\\/example/path)$', value: 'http://localhost:8080/example/path', example: 'http://localhost:8080/example/path', } ``` **Mock Server** support this generator (obviously from its name), so...
If anyone needs a `docker-compose.yaml` for local testing, the one below can be leveraged: ```yaml version: "3" services: postgres: image: postgres healthcheck: test: pg_isready -U postgres interval: 5s timeout: 3s...