azagniotov/stubby4j

for websocket on-message's client request from the text file new line (Enter) not accepted by using of stubby4j any solution or guideline to use new line in requested file, my requirement is, in requested text file must use multiline value

Closed this issue · 9 comments

Please provide some basic information about you environment

  • What is your OS: Windows/Mac/*Nix:
  • What is stubby4j version you are running:
  • Are you running stubby4j in Docker container or as a standalone JAR:
  • If Docker container, what is the image tag:

Is your question request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Provide details about your question
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the question here.

Thanks for opening your first issue. Pull requests are always welcome too! :)

Hi @kumarpramodlohar , it is hard to understand 100% what your problem is since you packed so much information into the issue subject field. Can you please describe in detail using a new comment what is your use-case and what you are trying to achieve. Thank you

Hi azagniotov,
I have one of microservice for getting real time information, using spring boot, websocket, stomp, kafka for messages broker, scenario is I need to stubbed this service for the developer, they use this mocking service in his local, so I am facing below issues when I used this library. in yaml config file, on-message of client-request I need to pass multiline value ending with null characters, but some how in request file null character not accepted by stubby4j show me 404 error, how to handle this one by your stubby4j library. and one more issue is how to pass parameter value in uri properties like: ws://localhost:0.0.0.0/ws/test?auth=123

request should like below:
image

@kumarpramodlohar thank you. Would you be able to provide an example of the YAML config you used for stubby4j? I will need it in order to try to reproduce the behavior you are seeing

yml&request.zip

Hi azagniotov,
Thanks for your prompt reply, please find zip file for yml config and also sample of request file attached.

Hi Azagniotov,
Any suggestion or solutions, please let me know, I am waiting for your response.

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. Thank you for your contribution.

This issue has been automatically closed due to inactivity. If you can reproduce this on a recent version of stubby4j or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request.