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