Welcome back to my third lecture of soap UI. These two things, okay, I'll close this. Okay. Okay, so, third lecture of soap UI. Yeah, that's good. Um, so here we go through, let's assume that you have installed soap UI.
I'm assuming you have gone to the previous lecture and you have installed the soap UI based on the documents, which I provided you. I was assuming you didn't run any issues. If you're not if you didn't run any issues. You will be having this because this is what it shows up. Okay, when you're viewing this video, just I'm not sure when you will be viewing this video probably in future probably now probably then. So it might get outdated.
I don't know it might get knew they did. Or they might add new features they might take. So by this as of June 3 2019, this is how it looks like. Okay, a previous versions, I don't have it. So but oh, I have screenshots to show you this. So we go each and every company, not each and every component, but I'll show you how to, you know, I'll just drag this thing here.
This is this thing is useful when you're when you have this project, and I know you're doing for functional testing. You can also encrypt it, or you can actually you can put a password so that not everyone can use this, you know, that's a good feature. In this, if you want to create this palette, you have this option. So okay, before going to that, um, what I'll do is I'll show you the screenshot. Let me do that. This chamber number because careens this is probably, this is the old one.
I'm sorry, this doesn't look good because, okay, this way the old one is 3.0 dot one. And this is I think this is the pool one thing actually at that tempo and open source was saying later they change it because Okay, let's see here, this was the old one. And this is the new one. Things change but not everything didn't change this is from my own previous project in the year 2013 I guess. This is very old code update in this but okay. So, you know the concept remains same.
Now we go to this concept. This is the project Okay, this is a project where you can see this project. Now we have the same similar thing, not the same Similar thing we have this project navigator See this? So this is the project where we have different options. You see this movie The see similar thing we're going to be doing okay, good. Okay.
And the request properties you have more options here, this options will increase once you add a new projects all right. Just you know this option of moving on to new projects. Right. Now this is this is a request for this is an XML file. Okay, so this is an XML file, I'll show you in detail Actually, I'm just showing the previous version actually previous version. This is an XML file which we call as a request with as a raw file in an XML.
Normally I have this XML call this will be a second Just want to check progress record. That's good. I'm just wanted to recording we had some confusion here, okay. So, this is this is the request. So this is an XML file handle parameters What you see right thing we can change it we can change, you know the SSN, the home what is the last name, what is username, the SSN and the country? Okay, here's the thing.
This is the wisdom, the wisdom match. Okay, one of the you know, so let me finish this before going to need more details because we have this other things. Do you have this option to run once you run it? This is the response. So the similar thing you will get it here. So I'll show you that this is just a screenshot.
I'm adding in the handout so that you have some big idea because this is all one I have already covered. You idea. And you know, once you run this request, you get the response. And you make sure your response is good. If any failure respond to what happens when you run it. This question is, what happens when you run the request of reserve?
So it goes through the server, it contacts the server, it gets the information from the server, and pings kind of pinging, and replace back the response to the user and shows here. So this is the response, right? This response is also an XML to the cynics demo. Okay? And you make sure this is all correct. If you mess up something here, something goes wrong, you know, ID and then doesn't matter when somebody throws an error, throws an error, make sure you're not doing wrong, it might be a bug, that is meant to fix it.
But that means you know, other than that, if you have screen up, if you're not seeing up, it's a bug. It's a defect. You have to go with the developers, you know, visual developer and ask him a no, this is what I'm getting. So he check what is wrong with this. Okay? All right.
So that's about request and response request is something XML file, which you send the server, which has the information, customer information. Whatever the example I give you later, first, let's finish this one. This is called endpoint is kind of URL. You know, in this, we have this real, this is a PC. They have a lot of methods. They've gotten a lot of methods.
This is pretty fascinating. But give me a third post or put delete, we just use Gizmodo, we don't go too much. That's too much. But here we have this one thing, wisdom arrest that so if it's arrest, we go File and numerous that was so simple. At that time, we had to turn 32 domain names 10 years back two years but still, it's pretty weird. Okay, so this is this is called endpoint, the same templates to find in File Explorer.
So okay, it's kind of you want to put a browser printer so we hear what you put his wisdom your you put wisdom our rest as a one it automatically recognizes in the new new Soviet Alright, that's good now before doing anything for anything going to developer you know seeing what the hell you want to see this locks this line to remain sane soap UI log. All right who does already have so many errors? We just started here and shooting errors. Okay, so we are in our history TP log testing application Testing you will have this HTTP gt log then you have error log there are any errors, we SRM blocks and memory locks memory logs are useful when you're using the load testing and soap UI and HTTP for soap UI lots of general logs which you see this you know logs what is trying to do and what is happening sctv logging is useful when you are doing this functional testing data log and Error Error log is if you get an error jiki logs are used probably emotional security testing and all those kind of things we as a modern lawsuit so these lots are very bad so this is the Lord's remain say, okay, it's the locks are very important.
Before doing anything this logs you have to look into it. Okay, that's a screenshot I want to share and this I put it as a handout as dot png format, you can go ahead and look into it. All right. So Let's, before going to this, I closed this Yeah, let's do this. I want to show it. No, no guess what I want to show you.
We don't want any logs, I would create an empty project for now who actually wanted to show you this wisdom. How I got that next class actually. Guess what we have this tutorial. We'll see that just we finish this one and we finish a little bit of information here. So there is a lot of options here previously, if you see the screenshot, we will screenshot obviously, there was only four things file tools, desktop, that's it. Now you have five projects who gave a hidden computer or test case.
Okay, so you have a lot of options here. Your preferences I prefer not to go here unless you know what you're doing here. But if you know what you're doing, you know, you want socket timeout, see these kind of things are a little bit tricky here. So you want to, I use this one unless, for specific reason or something, let's say you want to, you know, you're using some address you want to use this year or you want you know, you know, response size to limit or to limit response is kind of a mean kind of thing. Maximum connection, so I leave this as a default, because not that I don't know, like, I don't want to mess around with this thing. And I'm going to do so.
So there are a lot of things. HTTP, you have HTTP settings. So desert HTTP whenever. So HTTP, right, or rest comes under HTTP protocol, history TP euro, right? hypertext transfer protocol. So there is also hedge.
GD p s, s means secure. Now let's just put this s here, there's a lot more things to do when you put this. So it's HTTPS content, hypertext transfer protocol secure. There's a lot of things to do to make it secure. This is alright, so next you have just proxy. If you ignore the proxy, put the hostname port and username and password.
So this is when you're like using a VPN kind of thing, you know, go over my law and just put all those things. But I don't want to do anything with that. So SS SSL, very secure socket layer. If you know what, you know, if you if you're doing anything something with secure socket layer, you can also use this one. I'm not going to do this. I'm just giving you information so that if you happen to go to this you can use this options in preferences okay.
Wisdom settings, which Web Services description language, I, you know, put this as default, you know, whatever it is, it's good. I'm not changing anything here. Let it be what it is, unless you know you want to have some specific requirements, we can do this. But to be honest, there's not much you will normally do this unless you're being some specific type of testing, which is requires some kind of teaching instructions, which you have to do this otherwise requires UI settings. No, you have this option close all the projects are harder know how it's how you want to order a thing for anyone to show. It's kind of a main kind of thing.
You know, you know, wrap up to the rhombuses viewers. I'll just leave that in our editor settings. Su can go ahead with the NOC, this editor is good to know, but not not good to change. Oh, and by the way you use here groovy language. So we are not touching a groovy here as of now, but we'll see. groovy groovy script we use normal groovy script in soap UI, but snobbery not required for testing.
But, you know, still, if you want to know we can go to network. So groovy. If you're using any groovy script, then you can use this, okay? And then you have to action where you know us has a lot of tools actually then j meter j bass. So this is actually an option for you to use. Or when you're using Eclipse, let's say you're using Eclipse Eclipse Oops, that's a different tool altogether.
So don't want to mess up with all these things are Because it's interrelated with each other. So using this you have to know that if you have to know that you have to know this, and if you know this, you have to know all that. So it's kind of not a things. So, de bas, J meter, these are our XML beans, JDK, these are our different things. And you know, you don't want to use this at this point of time, because it's only useful when you're trying to do some specific work okay, but you have this option. So good to know that you have this option.
But you know, I would not using unless there is some CS requirement or some specific requirements, what to do with that. Okay. Then you have this this settings. With good you can use this settings or just use the default global parameters. properties or you can add a property. So this is for, you know, kind of manual this you can have identification of particular value in an application.
So I don't do anything here, but you can define an object here and its value the object. So if you're familiar with the GDP, you might know this one. But to take a quick test professional, I don't have the class because that requires installation. Probably go for Selenium. So in the property, you have this one. So this kind of you probably have this property and the value for that particular object.
Okay, so this will have this option. Global Security Settings. Oh, to start any project you want transferred over I don't know. So Ws minus A settings cable. This leave it as it is. Oh, it's really good information.
Yeah. Global consume information. Okay, so we're here what kind of information does the hackers want to know about it? So can you hackers information about these kind of tokens? You're using it, you know, it can be a hacker. I mean, of course, take the information, unless, if it's an encrypted but if you want, you can add your own property and put it as like, you know, one want to give information to hackers, something in it and put a strong token.
So, so global consume information, okay, so I don't, I don't mess up with that, because it's not really required for this. But it's good to know. new versions if you have this automatically take Of course I want that. If Finished application program interface status every five minutes? Who really? Okay, good.
I'm good to know. But that doesn't matter for me at this point of time, if you will go for five minutes because it takes for every five minutes that a new a new software has been our new plugin has been I know has come and installed plugins. So that was proposed preferences. So that was the major thing what is was actually acquired. I guess I could prove this. Yeah, this looks good.
I don't worry about it, that system advertisement for that. Okay. So let's create an empty project for now. We're so here's the thing. So here's the thing, right? What you can do with the project you Create their seats are in detail.
See what you can do is this is where you perform your load testings and security tests. Okay, this is something you cannot do in the major script. Okay, so test cases where you have this deceit and we can have these democ services Mr. mock responses, that's good. Five bucks, that's good to know. And deceit can run it. So this is just you know, this is this various options, you can add it here.
You can add it and decrypt keystroke. So this is useful for whenever you're using this as an application point of view or our testing and rest application. Okay. So if you're using this, you can add new one and Know what kind of material you want to add so we not doing anything here Okay, we'll just close this and and want to rename it, let's say right click it and it is a good it's a rename. This is an option of renaming. Okay.
So it's as good as Justice. Okay, good. And now here I can add a new visitor from here, okay. Okay. Now if you see here these things are are changed you now have work up Okay, here we go. Okay, so as I told you we run this as a GUI or JavaScript if you're familiar with JavaScript, JavaScript or groovy script.
Okay, description if you are having any description. I don't have any distinction. And the file where is the file located near where is the resource of where you Want to put as a resource also very good thing. So let's explain you that we so so let's see whenever I have this right normally the resource are located at sea you know it's like see users my name and these are the resources data sheets located on you know, it's dot XML format. So that's the resource group. If you want to change resources, you can use this our workspace, the workspace directory goes under you see users your name get Kashi definitions you can put through project parser as it will do, you can put the password I'm not doing right now at this point of time we don't require it but you can do the password script language you know you can use groovy are can use JavaScript or miss configuration.
This is dark Miss You can define your own custom values here. I don't know what kind of you can add. And, you know, let's say you have some object custom property, I don't know, like, you know, use some object, and the value of object is, let's say, okay button. Okay. Um, you know, you can add your own value properties. This is the name of the property.
And this is the value. For now we'll just delete it. It's just for your explanation. So that's pretty much of explanation. Oh, in good I have. So we know we go to the next class.
And now, in the next class, I'll explain you a little bit. And from there, we'll go into the light projects like how the government level projects. I mean, government is actually not Let's see, actually, we have to test we'll test this thing, because I didn't get any of See, which does only go to a month from now sine waves from that, that's a good wisdom, they, you know, they put freely to use, you know, that's good thing so that we can test it. Okay, you can do and if you have any questions, you can go ahead and click on forum, it goes to the browser and you can now go to this so there's not pretty much I have you can go check for updates, you can do all this. Now this thing got activated everything. Now if you require j pass, this is a speed tool.
J boss or j meter. You know, this is used for load testing for load testing, interviews and XML being classes that are so we not go this is too big man, this is from 10 years from past 10 years, it has been changed a lot. And I do work. And all of this. I just worked in that at that time, it was only a musical interest. And so now it has, this has become too many of this.
So, but test speed is good. We'll go to the test and see, yeah, we can do load testing, or load monitoring, security testing. We'll do that one that I did do in my project, but I show you right here, right. So we go and you can add wisdom, you know, you can do all those things. Okay. Who don't learn this harness.
Jas, this is a different thing altogether. Okay. So that's pretty much Oh, and proxy is littered with red baits, you're moving to the proxy and that means Some using your own care proxy settings if you're using your own, go to the manual, you know the host to the poll and username password, but here, you know, we just don't touch it. So this is the trial version. We know this is the driver if you want full version, put the license on this new one. And you can use that okay, you can save it.
You can import an existing one you can have your have export, nope, you don't have export, you can only export the XML back XML, you can save it and that saves in dot XML file. Okay, so that's pretty much that's pretty much about this, you know, you know when ad display is done and all those things, but This one actually will add this into the next class will show we go in detail and we'll see how this is a navigator you want to close it up and go navigator to file properties that thing got screwed up, right, Inspector. Okay, so that's pretty much that this became empty once you pull that thing right there and is it okay so in the next class, I go through wisdom audit tool and give some example and this was about just introduction on various modules and most of these modules are in preferences, what preferences you want to have.
So that is the most of things rest will be simple recipes, if you notice preferences, settings, as kind of admin kind of things. Which one You want do you want proxy? That means you, for example, like you want to use VPN kind of thing, right VPN using VPN and want to run that VPN you can do that too. Yeah. SSL, secure socket layer settings you can do that. All right.
And so these are various options so this wanted to show you options here in the soapy white file.pi dot zero. Okay, so that's pretty much in the next class we will how this actually go to our we go to tutorial Actually, we just add this to this. Guess what we just look at remotes the tutorial, and then we'll go to visitor. Okay, so guess what we fully distributed pretty quick. Actually. This was meant for this actually, we are supposed to go to this.
So we say like soap UI is pm. Okay. Yeah. For I already given you those instructions. Yes, this one's supposed to work. Let's see if it is the testing is working, too.
This is the visitor actually this is the visitor. But I don't think no no, this is not found yet it should end with darkness. So this is another instance. So this is the location reason so I show you the reason to not worry about it. So you have this tutorial I attached with handouts. Go ahead and you can view this.
This is the old one actually the old one but this is 1.1 point seven. The screenshot which I have is three parts. My version is much more better, although I used in 2013. So this is pretty old. But still you can have this handout, you can create your own test suit, or we will create that will create that. And we'll add this, once you create it, you can do load testing and security testing.
So that's really important. So you know how to create these logs, you have to always check the logs, you know, tickler, if you have any issues with the logs and sign now, with the script, actually with the request. So if you have any issues with the request, you have to check with the developer and get a new developer will change the request and you have to run it and make sure it's running appropriately. There is no errors coming up. There are any errors so this issue with the request. Okay, so that is done.
All right. So groovy script is some groovy script. If you want to know know something You can use this groovy script, but I'm not touching anything groovy and think specific. But, you know, we can go ahead and see this movie Okay, and I just add this up, we actually did this actually, we completed all this. So, what I will do here is let me do this. So, I go here, my econ page.
So you will have this information as an handout in the third lecture, that is, this is my third lecture. So, you know, so that's pretty much I close this one. And we go to vistal, introduction on digital and see the information. How does take one example I'll show you an example and see what is returned to your on wisdom. And we'll get started from there and start using this soap UI. From there.
We'll get started and start testing. Okay. So that will be the major part of our district. Okay, so that's pretty much and thanks for watching, and I hope you liked this video and see you in the next class. Thanks