Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-3 votes
1 answer
60 views

I created a mock server in Postman, and I link it with my collection. I clicked "Add Example" to my request and I created a response. But when I make that call, in response I get a 404 with: ...
Advice
0 votes
0 replies
20 views

I want to register (via REST API) some expectations in a running instance of a Mockserver and then be able to quickly clear (remove) them. The expectations would serve a single test run. For that ...
fml2's user avatar
  • 362
1 vote
1 answer
52 views

In the following code from https://github.com/mock-server/mockserver/issues/601 return request().withMethod("POST") .withBody(json(body, MatchType.STRICT)) ....
Hubgitter's user avatar
0 votes
0 answers
20 views

I use MockServer to create a docker container that provides mocked endpoints defined in a json file. Everything works fine with this, but the only problem is that I need to distinguish the endpoint by ...
Febertson's user avatar
  • 514
0 votes
0 answers
92 views

I am trying to configure logging for MockServer via the command line. Below is the command I use to start MockServer: java -Djava.util.logging.config.file="logging_configuration.properties" \...
0 votes
0 answers
206 views

I’m working with Mock-Server and exploring its support for Velocity templates, specifically the built-in Dynamic Model Variables. I understand that these built-in variables, like $!now_iso_8601, ...
makson's user avatar
  • 2,319
1 vote
0 answers
98 views

I am using karate frame work (java8 and karate1.3.1) and I need to create a mock service with karate's feature files . this is small part of my scenarios.( I have same error for all scenarios in my ...
1 vote
0 answers
185 views

Summary When running a springboot test, I get dependency collision, which I can't get rid of. Details My build.gradle.kts includes the following line: testImplementation("org.mock-server:...
0 votes
1 answer
254 views

Just started learning about mocks and I am trying to figure it out. I have wiremock in Docker and mockServer in Docker.(mock-server.com). Each has simple test requests. /hello returns the string hello....
0 votes
0 answers
213 views

I'm a backend developer. I've been utilizing mock server extensively to facilitate testing of my backend services by returning specific dummy responses. However, I've encountered latency and CPU ...
0 votes
0 answers
129 views

Description: I'm a backend developer in a company. I've been utilizing a mockserver extensively to facilitate testing of my backend services by returning specific dummy responses. However, I've ...
0 votes
1 answer
246 views

Well I have JUnit 5 test which do API checking, and client which has common code like this ResponseEntity<T> responseEntity = restTemplate.exchange(url, method, httpEntity, clazz); but with GET ...
M_F's user avatar
  • 456
1 vote
0 answers
102 views

Maybe someone can share a working setup for mocking https requests. All my experiments ended with catching of encrypted requests. The documentation is not really clear and I hope there is a way to ...
Ilja's user avatar
  • 11
1 vote
1 answer
258 views

I have the following successful test, which expects a 500 error: it('shows the error state', async () => { server.use( rest.get(get(), async (req, res, ctx) => { return res(...
1 vote
1 answer
607 views

I'm getting this error: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.jul.JDK14LoggerFactory ...

15 30 50 per page
1
2 3 4 5
...
12

AltStyle によって変換されたページ (->オリジナル) /