package testcase.twitter; import testcase.TestCase; abstract public class TestTwitter extends TestCase { private String getvalue = "OAuth oauth_consumer_key=\"xPk6o11catewYwxGcXvvvqo2I\",oauth_token=\"3279293718-bTcjYBEU1dqTdD2mm40J8IV7UrGcPHneHFLzomD\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1547014274\",oauth_nonce=\"JnnOc6\",oauth_version=\"1.0\",oauth_signature=\"NRS2l9B%2BHrscrL16yxYjabecD8A%3D\""; protected TestTwitter() { super("https://api.twitter.com/1.1"); } public void start() { check.getResourceParam().setProperty("Authorization", getvalue); check.doRestTest(); } }