Example #1
0
 static void Main(string[] args)
 {
     using (var client = new PutCommentsTest(args[0], "PutCommentsTest", -1))
     {
         client.Initialize();
         client.RunTest();
     }
 }
Example #2
0
        static void RunCountersScenarios(string orchestratorUrl)
        {
            using (var client = new PutCommentsTest(orchestratorUrl))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new PutCountersOnCommentsBasedOnTopic(orchestratorUrl))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new PutCountersOnCommentsRandomly(orchestratorUrl))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new QueryBlogCommentsByTag(orchestratorUrl))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new PatchCommentRatingsBasedOnCounters(orchestratorUrl))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new QueryBlogCommentsAndIncludeCounters(orchestratorUrl))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new LoadBlogCommentsAndIncludeCounters(orchestratorUrl))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new IncrementCountersByPatch(orchestratorUrl))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new SubscribeToCounterChanges(orchestratorUrl))
            {
                client.Initialize();
                client.RunTest();
            }
        }
Example #3
0
        static void RunCountersScenarios(string orchestratorUrl)
        {
            using (var client = new PutCommentsTest(orchestratorUrl, "PutCommentsTest", -1))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new PutCountersOnCommentsBasedOnTopic(orchestratorUrl, "PutCountersOnCommentsBasedOnTopic", -1))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new PutCountersOnCommentsRandomly(orchestratorUrl, "PutCountersOnCommentsRandomly", -1))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new QueryBlogCommentsByTag(orchestratorUrl, "QueryBlogCommentsByTag", -1))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new PatchCommentRatingsBasedOnCounters(orchestratorUrl, "PatchCommentRatingsBasedOnCounters", -1))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new QueryBlogCommentsAndIncludeCounters(orchestratorUrl, "QueryBlogCommentsAndIncludeCounters", -1))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new LoadBlogCommentsAndIncludeCounters(orchestratorUrl, "LoadBlogCommentsAndIncludeCounters", -1))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new IncrementCountersByPatch(orchestratorUrl, "IncrementCountersByPatch", -1))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new SubscribeToCounterChanges(orchestratorUrl, "SubscribeToCounterChanges", -1))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new IndexQueryOnCounterNames(orchestratorUrl, "IndexQueryOnCounterNames", -1))
            {
                client.Initialize();
                client.RunTest();
            }

            using (var client = new CounterRevisions(orchestratorUrl, "CounterRevisions", -1))
            {
                client.Initialize();
                client.RunTest();
            }
        }