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

Add delay to a response. #47

Closed
matoelorriaga opened this issue Feb 4, 2017 · 3 comments
Closed

Add delay to a response. #47

matoelorriaga opened this issue Feb 4, 2017 · 3 comments
Milestone

Comments

@matoelorriaga
Copy link

Hi! would be really nice if we were able to do something like this:

whenGET(pathEndsWith("pokemon/1/"))
    .thenReturnFile(200, "getPokemonDetails_200.json")
    .delay(3, TimeUnit.SECONDS); // this!

Are there any plans to include something similar?

Thanks! Great work!

@andrzejchm andrzejchm added this to the 0.2.0 milestone Feb 4, 2017
andrzejchm added a commit that referenced this issue Feb 4, 2017
@andrzejchm
Copy link
Owner

implemented in 0.2.0 version, enjoy!

@matoelorriaga
Copy link
Author

Great! When will 0.2.0 be available? Thanks!

@andrzejchm
Copy link
Owner

it's already released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants