Skip to main content
Solved

Any way to set time interval between HTTP requests in HTTPCaller transformer?

  • October 11, 2017
  • 3 replies
  • 121 views

Forum|alt.badge.img

Hi! I am using HTTPCaller transformer to repeatly send many http requests to a remote server for some task. By observation I found that HTTPCaller sends the next request right after receiving the response for the current request. This may significant increase the load of the remote HTTP server.

Is there a way to let the HTTPCaller wait for a couple seconds after receiving the response before sending the next request?

Thank you!

Best answer by jlutherthomas

Hi @sui_huang

 

Do you have a feature for each request entering the HTTPCaller?

 

If so, you can add a decellerator transformer beforehand to slow the features down.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

Forum|alt.badge.img+2
  • Best Answer
  • October 11, 2017

Hi @sui_huang

 

Do you have a feature for each request entering the HTTPCaller?

 

If so, you can add a decellerator transformer beforehand to slow the features down.

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • October 11, 2017

Hi @sui_huang

 

Do you have a feature for each request entering the HTTPCaller?

 

If so, you can add a decellerator transformer beforehand to slow the features down.
Great sugestion. I agree with you @jlutherthomas

Forum|alt.badge.img
  • Author
  • October 11, 2017

Hi @sui_huang

 

Do you have a feature for each request entering the HTTPCaller?

 

If so, you can add a decellerator transformer beforehand to slow the features down.
@jlutherthomas thank you, if works well!