Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #457

Closed
kumarpramodlohar opened this issue Oct 13, 2022 · 9 comments
Assignees

Comments

@kumarpramodlohar
Copy link

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.

@kumarpramodlohar kumarpramodlohar changed the title for websocket on-message's client request from the text file new line (Enter) not accepted by using of stubby4j and solution or guideline to use new line in requested file 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 Oct 13, 2022
@github-actions
Copy link

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

@kumarpramodlohar kumarpramodlohar changed the title 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 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 Oct 13, 2022
@azagniotov
Copy link
Owner

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

@kumarpramodlohar
Copy link
Author

kumarpramodlohar commented Oct 14, 2022

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

@azagniotov
Copy link
Owner

@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

@kumarpramodlohar
Copy link
Author

yml&request.zip

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

@kumarpramodlohar
Copy link
Author

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

@azagniotov
Copy link
Owner

azagniotov commented Oct 18, 2022 via email

@stale
Copy link

stale bot commented Oct 22, 2023

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.

@stale stale bot added the wontfix label Oct 22, 2023
Copy link

stale bot commented Nov 19, 2023

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.

@stale stale bot closed this as completed Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants