{"_id":"55fc9b7d3c21291900e7e0ef","parentDoc":null,"user":"5553d33065e8260d00244199","version":{"_id":"55fc9b793c21291900e7e0d7","__v":12,"project":"5553d36165e8260d0024419a","createdAt":"2015-09-18T23:17:13.545Z","releaseDate":"2015-09-18T23:17:13.545Z","categories":["55fc9b7a3c21291900e7e0d8","55fc9b7a3c21291900e7e0d9","55fc9b7a3c21291900e7e0da","55fc9b7a3c21291900e7e0db","55fc9b7a3c21291900e7e0dc","55fc9b7a3c21291900e7e0dd","55fc9b7a3c21291900e7e0de","55fc9b7a3c21291900e7e0df","55fc9b7a3c21291900e7e0e0","55fc9b7a3c21291900e7e0e1","55fc9b7a3c21291900e7e0e2","55fc9b7a3c21291900e7e0e3","55fc9bad4c80910d00b9bece","56394a0c3539050d00082122","56394a2f68b11f0d0048c9ff","56394a462fc5520d001a4db3","56394a4c2fc5520d001a4db4","56394a5b049e420d00476b5c","56394a6a2fc5520d001a4db5","56394f791593e4190073a44b","567b3adfb56bac0d0019d8d9","569d590e5a2b060d008741eb","569ea93dffccd10d00a05c7f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"__v":0,"project":"5553d36165e8260d0024419a","category":{"_id":"55fc9b7a3c21291900e7e0dd","__v":1,"pages":["55fc9b7d3c21291900e7e0ef","55fc9b7d3c21291900e7e0f0","55fc9b7d3c21291900e7e0f1","55fc9b7d3c21291900e7e0f2"],"version":"55fc9b793c21291900e7e0d7","project":"5553d36165e8260d0024419a","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-13T22:52:32.399Z","from_sync":false,"order":5,"slug":"work-flows","title":"Work Flows"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-14T20:18:06.358Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"[block:embed]\n{\n  \"html\": \"<iframe class=\\\"embedly-embed\\\" src=\\\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dwz8w5FBSQAU%26index%3D5%26list%3DPLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fwz8w5FBSQAU%2Fhqdefault.jpg&key=02466f963b9b4bb8845a05b53d3235d7&type=text%2Fhtml&schema=youtube\\\" width=\\\"854\\\" height=\\\"480\\\" scrolling=\\\"no\\\" frameborder=\\\"0\\\" allowfullscreen></iframe>\",\n  \"url\": \"https://www.youtube.com/watch?v=wz8w5FBSQAU&index=5&list=PLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_\",\n  \"title\": \"APImetrics Workflows\",\n  \"favicon\": \"https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico\",\n  \"image\": \"https://i.ytimg.com/vi/wz8w5FBSQAU/hqdefault.jpg\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/VerfBlSRHaRLMghpC2et_workflow1.png\",\n        \"workflow1.png\",\n        \"987\",\n        \"458\",\n        \"#499bc0\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Creating a Work Flow\"\n}\n[/block]\nFrom the API Management drop-down menu, select 'Work Flows'.\n\nThis takes you to a list of your current Work Flows.\n\nTo create a new one, or your first one, click 'Create Work Flow'\n\nYou can then name your Work Flow, set cookie handling options and also set a default location for the Work Flow. This can be used to override any [Deployment](doc:deploying-tests-to-apimetrics-servers) options.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/usF6MN3TC2ZKK093XU0S_workflow.jpg\",\n        \"workflow.jpg\",\n        \"993\",\n        \"326\",\n        \"#545a92\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Adding Calls to a Work Flow\"\n}\n[/block]\nYou can now start adding calls to your workflow. Clicking the Add button will bring up a list of available API calls to add with a search filter for ease of finding tests.\n\nOnce your calls are added, you can move them around and change the order using the buttons on the side.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/x6eT5VB1QHGuqFfHgwBL_workflow2.png\",\n        \"workflow2.png\",\n        \"884\",\n        \"394\",\n        \"#967344\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Deploying Workflows across regions\"\n}\n[/block]\nClick on the Deploy button to create copies running in different regions.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/WJamPDSEyeFvoVCuK4xg_workflow3.png\",\n        \"workflow3.png\",\n        \"982\",\n        \"119\",\n        \"#b4a93f\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"A Work Flow is a sequence of multiple API calls that test a scenario or set of scenarios.","slug":"creating-a-work-flow","type":"basic","title":"Creating a Work Flow"}

Creating a Work Flow

A Work Flow is a sequence of multiple API calls that test a scenario or set of scenarios.

[block:embed] { "html": "<iframe class=\"embedly-embed\" src=\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dwz8w5FBSQAU%26index%3D5%26list%3DPLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fwz8w5FBSQAU%2Fhqdefault.jpg&key=02466f963b9b4bb8845a05b53d3235d7&type=text%2Fhtml&schema=youtube\" width=\"854\" height=\"480\" scrolling=\"no\" frameborder=\"0\" allowfullscreen></iframe>", "url": "https://www.youtube.com/watch?v=wz8w5FBSQAU&index=5&list=PLf2DAAiR0jOYOgQLWVa6InnyzxAvisd3_", "title": "APImetrics Workflows", "favicon": "https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico", "image": "https://i.ytimg.com/vi/wz8w5FBSQAU/hqdefault.jpg" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/VerfBlSRHaRLMghpC2et_workflow1.png", "workflow1.png", "987", "458", "#499bc0", "" ] } ] } [/block] [block:api-header] { "type": "basic", "title": "Creating a Work Flow" } [/block] From the API Management drop-down menu, select 'Work Flows'. This takes you to a list of your current Work Flows. To create a new one, or your first one, click 'Create Work Flow' You can then name your Work Flow, set cookie handling options and also set a default location for the Work Flow. This can be used to override any [Deployment](doc:deploying-tests-to-apimetrics-servers) options. [block:image] { "images": [ { "image": [ "https://files.readme.io/usF6MN3TC2ZKK093XU0S_workflow.jpg", "workflow.jpg", "993", "326", "#545a92", "" ] } ] } [/block] [block:api-header] { "type": "basic", "title": "Adding Calls to a Work Flow" } [/block] You can now start adding calls to your workflow. Clicking the Add button will bring up a list of available API calls to add with a search filter for ease of finding tests. Once your calls are added, you can move them around and change the order using the buttons on the side. [block:image] { "images": [ { "image": [ "https://files.readme.io/x6eT5VB1QHGuqFfHgwBL_workflow2.png", "workflow2.png", "884", "394", "#967344", "" ] } ] } [/block] [block:api-header] { "type": "basic", "title": "Deploying Workflows across regions" } [/block] Click on the Deploy button to create copies running in different regions. [block:image] { "images": [ { "image": [ "https://files.readme.io/WJamPDSEyeFvoVCuK4xg_workflow3.png", "workflow3.png", "982", "119", "#b4a93f", "" ] } ] } [/block]