toast-tk / toast-tk-engine

The core automation framework for your acceptance tests
http://toast-tk.io
Other
12 stars 5 forks source link

Agent API Key #79

Closed skokaina closed 7 years ago

skokaina commented 8 years ago
skokaina commented 8 years ago

Try closing connections

skokaina commented 8 years ago

check HttpCloseable for more information

NathCoco commented 8 years ago

Is the Api Key a string ?

skokaina commented 8 years ago

Yes it's a string

NathCoco commented 8 years ago

Branch merge request : 79-agent-api-key

NathCoco commented 8 years ago

@skokaina have the hand. I can help you now if you need.

skokaina commented 8 years ago

The attribute to use in the http header for any request from the agent to the webapp must be named: "Token" Dans la class RestUtils, ajouter le parametre token au méthodes:

Dans chaque methode, intégrer la valeur dans le header du httpClient ("Token")