Skip to content

Commit

Permalink
Merge pull request #71 from SeamusGrafana/patch-4
Browse files Browse the repository at this point in the history
Allow specifying Custom Base URL in gRPC Test Script
  • Loading branch information
federicotdn authored Dec 13, 2024
2 parents 59d44ef + 4405a1b commit d4b3cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k6/foundations/16.grpc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Client, StatusOK } from 'k6/net/grpc';
import { check, sleep } from 'k6';

const BASE_URL = 'localhost:3334';
const BASE_URL = __ENV.BASE_URL || 'http://localhost:3334';

const client = new Client();
client.load(['definitions'], '../../../proto/quickpizza.proto');
Expand Down

0 comments on commit d4b3cf6

Please sign in to comment.