课程: API Test Automation with SoapUI
Installation and setup
- [Instructor] Okay, so let's dive right into this. SoapUI is a desktop application and so we're going to need to install it. I won't spend too much time on this but I do want to kind of quickly walk you through this process. So, you can install SoapUI from the SoapUI Downloads page which you can see the URL for up here. As you can see there are two options. We've got the Open Source option and the Pro option. For this course we're going to be using the Open Source option. But if you have access to the Pro option, maybe through your work or some other way, feel free to follow along in there. You will notice differences, especially in, kind of, the look and feel of it but you're welcome to follow along. To actually install it you just click on the Get It button, that'll download the installer and then you can run it and follow through the wizard, just accepting the defaults along the way. Once you've got it installed you can start it up and I won't actually show you running through the installer. Hopefully, everyone has done enough of that that they know how to follow through that. But we'll just start it up. Then we have it open here and we can see our first look at our API testing tool. This is a desktop application and it's pretty standard UI paradigm for a desktop application. We've got a Shortcuts toolbar here that gives us some shortcuts to some actions that are common. Then we've got our menu options here and we can see there's various options that are available to us through those menus. Now, one additional thing that you'll want to notice in SoapUI is the right click menu. So, if we right click on Projects here it brings up this context sensitive menu for us that gives a bunch of options that are related to the projects. So, we can see Create a New SOAP Project, a new REST project, we can import a project. We can do a bunch of different things that are all related to the fact that we right clicked on the Projects. That's something that's a fairly common paradigm. We'll see it throughout this navigator tree here, when you right click on different objects it'll bring up different context menus to help you along the way. Another thing you'll want to notice is this viewer over here. You can see here, we've got this Open Source, kind of getting started page for us. We can move this around inside this viewer. Now, the reason that this is interesting is that as we interact with things in the navigator it's going to bring up a lot of different windows here. So you might want to move things around and adjust them to fit your workflow. You can adjust the size of this window. You can expand it up and expand it down. If you want, you can even close it. So, that's something to note in this viewer is everything is quite adjustable for you. Another thing that you'll want to notice is down here on the bottom. A lot of panels will have this in SoapUI. You'll have a bunch of little options down at the bottom of the panel. In this case, it's all logs. Sometimes it'll be properties or some other things that are interesting for you. So, if I click on this, it brings up the log and in this case it's empty, we haven't actually done anything so there's no log to see. But it shows you how those options are there. You can expand and collapse that by clicking on the various options down here at the bottom. Then one other thing that's worth noticing is the properties. So, depending on what you've selected in the navigator you'll often see some properties related to that object down here at the bottom of it as well. That's kind of the really quick overview of the UI paradigm. Helps you kind of get a feel for how things work in SoapUI and how you can interact with it. At this point now, you're set up and you're ready to go with diving in using SoapUI.
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。