Lesson 1: Building a Synthetic Monitoring Test with 2 Steps & Splunk

Learn how you can quickly build synthetic tests through 2 Steps and Splunk with no coding and no agents required.

Transcripts available below.



Hi. So today I am going to be showing you how we go about creating a new test in 2 Steps. And what I'm going to be doing is creating or recording my interactions with the Bureau of meteorology website which is a Chrome test. So I've selected a name, weather... Type, Chrome... I provided a URL, I'll give it some timing values, click OK, and you'll say that straight away 2 Steps has navigated to the website and I can see that the status is ready for command input, which means that I can start to interact with the, with the test.


The first thing I want to do is have a look at the Victorian weather, and there's a hover menu on the website. So I'm going to, rather than just click on that, I'm going to create a hover command or a mouseover command. So I just click on the part of the user interface that I want to interact with. And then I select the command, which is a mouseover image. And then I'm going to give this image a name. Now, I realise that this is text and not an image, but the way that 2 steps works is through image recognition. So 2 Steps regards everything as basically just images.


I mouse over Vic and I get a popup menu then. And I want to click on the first item, what I'm going to do instead of just clicking here though, is shift and drag, which drags out an area that is the part of the user interface that I want to click on. And you'll see that 2 Steps has automatically extracted the text within that area for me, using optical character recognition, which is a handy little feature... Speeds things up rather than having to type everything in. So now we've navigated to that page and I'm going to go to the Melbourne radar. So again, I'm going to shift and drag through that link, click on it, click the Melbourne radar, and then I'm going to go to the 256-kilometre view.


And now I have that view. You can say that this is live, but as you can see, the cloud is changing there. And now you can see the website, scroll down a little. So I'm going to just show you how we do a drag, which is basically literally just drag on the surface of the test. And in this case, I'm just going to adjust the image size there so that we're not capturing any of this surrounding user interface, which might change unexpectedly. So I just want to capture the scroll by the end because I've got no texts to capture. I have to manually name that, okay, so it scrolls up. And the last thing I want to do here is do a little search just so you can see how we enter text a text field.


So again, I'm going to shift and drag, and then I change that to click text input and the text that I want to enter... click OK. No secrets to commands. First of all, the click and then the type, then I'm going to click on the search button to clean up that text click. Okay. And they come through to the search results page. And the last thing I want to do is just confirm that I've arrived at a search results page. So I'm just going to grab this little bit of user interface here and I'm going to wait for it. So that says 2 steps. Don't interact with this, just wait for it to appear to confirm that it's there on the page. So that's the last step of the test. I'm not going to specify a time to wait. I'm just going to basically say, wait until it appears or until the test times out.


And there we are. So now I'll reset the test and it's ready to be replayed... Before I do that, I'm just going to show you a nice little feature here, which is that when I hover over each of these steps, I get a preview on the left. So you see that sort of faded it out view of the test and is a little icon that indicates the type of command. So it'll be like an hourglass for a wait command, for example, or a mouse for a mouseover... a little pointer for a click. So that gives me a nice way to preview what the test is supposed to do. Now I'm going to play it again and we'll see how that goes... So far so good. You can see it going through each of those steps and we've successfully reached the end of the test.


And I could now because this is an interactive mode, I could continue to add to this test if I wanted to, but that's fine. I've confirmed that it works. So I'm going to save it. And once that saved, I can then go and schedule it. I can actually make a schedule for this test until it's saved there. It's saved successfully. And now I could go in and schedule a test. If I wanted to, I won't do that now. I'll demonstrate that on another demo for you. Thanks for paying attention. I hope you enjoyed the demo.

Ready to get started?

Get in touch to create a trial account or book a demo