testcontainers / testcontainers/testcontainers-java

Service exposed takes too long to respond

Open
#3,488 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
8.7k
Forks
1.9k
Avg merge
2d 17h
Merged PRs (30d)
9

Description

Hi,

I'm trying to run a dockerized application through GenericContainer. This application basically exposes SOAP endpoints.

In the java code, I send a request to a particular endpoint and assert the response.

If I run my dockerized environment manually, the response is gotten right away, whereas with TestContainers it takes about 10-15 seconds.

Why is that?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported comparison between a manually run Dockerized SOAP application and the same application launched through GenericContainer. Measure the Java request timing and inspect the container startup and networking behavior; done means the cause of the 10–15 second delay is identified and an actionable resolution is recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.