Welcome back for my eighth lecture on payment theory here, it lecture on soap UI. And this is for function distinct. So we had this unsuccessful attempt for now we ran Actually, we successfully ran this pet store thing. Guess what, I want to move it upstairs? Can I start working? Okay, so I'm actually guess what I deleted This is not working so.
No. Okay. So what happens is, I mean this is working but thing is SL shingles was not possible. And load testing is not possible for this. It's completely irrelevant. It's not working.
Now. We'll do one more, actually. For functional testing, this is not for rest. But of course, you will be using this rest, of course, but but I'll be showing you how to do functional testing. Now, doing a version they esteem as a tester is easier in order to open the browser, and we may use this websites that say I have this website on es demo three.com. And actually, I have this dual borderline job code that's not working for some reason.
First working that's good debates. So let's try for this one instead of this. Okay. Let's try if if this is working, that's good. I added to this list. I thought it was not working.
So. Okay, good. Now let's try to do this. I have not done that before for demoed line. So you know what, for testing manual testing for the manual tester, just Click these buttons. And you see on this and this is pretty easy, but for doing as distinct soap UI is very different here.
I'll go ahead and click on rest, and put click on that particular URL and go ahead and click on that. Okay. And we will rename this one. Last time we had this unsuccessful and I hope this doesn't happen this. If this happened, if this runs good, probably I'll delete that one. Because there's some mistake in that point, actually, so let's run this.
It's running. It's initializing. Good. Here servicing This is a demo on line two. So good resources, methods simple and we don't have anything to learn here. So the Good, so this looks good.
Now we'll close this one. Alright, now what we'll do here is we need this to keep getting this even though the multiple ways of doing this, I'll create a test case like this. I can create a low test for this like this are just one test case for Domo and this is borderline borderline. They post GMO GMO better. Okay, now so I'm not going to run anything from here because that's a direct separating from somewhere. I'm going to run from here.
So I'll run the script. Okay, good. Now let's learn this correct. Okay. This is good. This was fantastic.
I'm sorry, that was just the whole this let's run the script. Yeah. So this is what the page. So this is the testing, you know, this is an XML format. Luckily this is not Jason XML, you who, then that's a good good thing, because that that one rescue which we saw, I'm sorry, ignore this one, which we did right previously, which was unsuccessful attempt. But still, that was a decent script.
This is HTML. This should not give any issues. I am hoping so. I will create a session. That's good. So let's say I'm creating a session for this.
Welcome to grippers dot push online. So this was working like a charm is good. So go ahead and click on contain in our users. Now let's run this because failing. Let's see what he does. So let's do this.
It's not supposed to actually you can do this in multiple ways can use us Okay, now let's run this. Now you see this assertion as valid, and welcome to green post output, output this try to work successfully. So the point is this is application district. I'm sorry, functional district. Yeah, application. This is web web application.
So this is good. This is very good. This also you can take it as rest, because this is also rest. But this is in XML format. We try to do JSON format, which is a pretty lengthy and pre heavy code, and that's pretty heavy. And it takes my memory it takes like everything you've seen, right?
I mean, that's that's too much. If you have a high end computer like 30 using gaming computer and if you're using this, do it because it's 16 gb ram will still be a shortage because that is very heavy just just simply Justin This is pretty heavy. This is simple testing web application suppose to run this but can I add one more especial? Yeah, I can add multiple assertions. So I can add any script or SLA or I have this assembly so if I do see this anything in Selenium but let me add one more assertions we didn't do or add this to assertions, three issues comes right. But okay, we go to this.
This is not working for some reason. So who just dig this one? So I'm just using this Okay, we'll move this Okay, we are just going to contain a Sunday is something which is let's run it again. It looks No. Okay, so this is how you do functional testing for an application for any application. Let's save it Okay, let's let's let's see.
So I mean I don't care for fulfilling but it's for you is I'm going to deleted this thing too much of my sources. So probably I'm with Davis at one point of time. Sophie why. And I'll add a new folder functional testing. Okay, in this Jeep, so that should be good. Okay, so this is the function that's it.
This is the functional testing you will get some other things you just have seen this locks into slots and blinka is good in Yeah, this is a website this is the website for the same HTTP log looks good, is dated, there's no error marks we are not fully sure but there are errors. We have this memory lock this is really good. I'm not utilizing too much. Okay, so this is good Now let's try Buddhists low testing for the same thing which closes this should be good for this one we'll use threat has used too much sample delay time delay hundred I'm not sure this is all we'll use we'll try to do this after this is working okay so what we are doing here is we are trying to do this load testing and this will be pretty quick and we already done this before so I don't think this will be a big deal for you.
Oh, always keep this memory lab open. And I love to see my mix. Remembering This is not really meant to be memory this CPU and disk is my RAM is my RAM is if I'm using complete my ram Right. So be ready to get stuck like before. But this is not going to happen for this is simple website Joomla because this we are not doing rest, although we are using the rest component here. But what we are trying to do, we did functional testing just added assertions.
That's what we do and ran the script and there are multiple assertions that you can use. We have seen that a lot of assertions SLA SLA we beat you right SLA we use only for security testing, but you can use the desolated Okay, good. We have successfully use this. See the soap UI lock. Everything looks good. is green color, the HTTP lock.
Okay. And again, open the graph see the graph Ouch, pain. is good. If you want to take a screenshot, and you know, use it, you can do that or data, you can use all this data. I'm not utilizing for this specific one because we have done this. So I'm not going too long this.
Okay, so that's pretty much for load testing. We have already done that load testing that we are doing this for functional testing, you know, this is functional testing. Okay, let's close this. You can do this and then you can repeat the same thing. Again, go ahead and you know, create a security testing we'll just, we'll just do pretty quick usability testing. Click on this, go ahead and click on cross site scripting.
Label, choose property username and add it close. Ok. And run the script. dra green color is good green color means there's no issues. The red color means you have issues that means when you are cross scripting, cross site scripting and security testing, you are searching for that particular, you know, particular that word in that script so that you might get an error so that would be a problematic So, this looks good. Oops. Okay, good.
So I knew disable this and add new this time we'd add to this request assertions. Okay, and II don't have XML bomb here that we cantus XML bomb and previous write floating scan let's try to do this for the set. We will use this password we do not have use it. We use password of makes us confident. Why everything has to get past Something has to get paid, right? Let's see this.
This is what I'm using as posture. assertion arm. I need you to try. Okay? Okay and let's run this data So, got plenty of us, that's what I wanted, why everything has to get past right Something has to get fit. So, this has been good.
So, this these actually, you know, it sends a request and it gets failed because you found something relevant for that particular token what we have given. So there are 100 thing which which has issues and he had to fix the tissues, no, okay. So once you get this in you go to a developer and see this, you know, let's remove this and try to run it again. See the see assertions. So, you know, I hate assertions of not so this is how you can do the security test. Okay, so, I mean this was not really good because we add a response time.
Okay, and let's see what happens with this one alert. I use 200 as SLA, but SLS 249 so 2536 it's matching it has to match with a response time in this. So that's why you are this looks good 311347 good. So always save this file as dot log file and see this logs and you know you can get so that's pretty much for security testing. We will disable this we will never end on it doesn't look good. Okay, so cross site scripting where and when good, you know, use this username as that one probably can use more other user ID and password for this one.
I think this is fun. I mean, this is this is something which is not done before. I think for security testing, that's it. So it's successfully done and there's no errors. But technically there should be errors so that you know that, you know, there's something wrong with that. So that's pretty much for functional testing.
So in the functional testing, you could do this everything, as although you use as a rest, you create a representative, representational state transfer. But here what exactly you're doing is you are actually doing functional testing. Okay, you're being functional. So even when you're doing functional testing you you're doing This test case for this one, all right, um, you know, this is an XML file. So this is really good. And we've done for two assertions.
Both are really valid. That's really good. We did load testing to. Okay, that was really good. I didn't save the data. Sorry about that.
But that you have to do for one I've done already, right. This one, you take it as homework, save the data. See the threads, change as per your requirement, how much threads you want stategy you want the burst, simple threat or variance. It's up to you. I use the simple one and get the graphs. Once you get the graphs, save it in dot take the screenshot and save it that should be good.
Then we did security testing and security testing not for all of them but we did for crossing you can do for any of This body scans expired SQL injection or they're supposed to or more so, XML bomb right that thing didn't came for this. The reason because this is XML file that is this was for number conversion was really complex because that was for I'm sorry, when he tweeted for supposed to see this right? I didn't see this to Lotus test one. That's good. We did load test. Something is Sr.
I think save them. Two were supposed to save this. So we did load testing we did a fourth. But so and also pitch to pitch to his painting. So we did it. But the thing is you cannot you're not able to add a session, the reason because it's taking too much of my memory.
And this is getting stuck. It's sitting too much memory because it's very large. It's a JSON format. And it's a very large scale, not that I cannot do it, it's it's taking too long. You know, you know, you tried at home better, if you're having better configuration. Mine is not too It's a daisy of 16 gb ram should be good.
You will, it will run faster. But if it's, you know, this is really paying too much. So that's pretty much probably you can practice it by installing as so I've given already in the lecture one has been started in about does was introduction in the end, you know, you can practice it tomorrow, you practice The better you get into this. So that's pretty much about soapy wine. So let's recap. Pretty quick in two minutes.
So what we did first. So first one was this introduction in the lecture one, we just did an introduction. Second was installation, how to install soap UI. And third one we did like radius competence and all this, how we'll just use competence. And the fourth one was running visual scripts. Okay, and the fifth one was the loader load testing in o four in which to and the sixth one is security testing we did and seventh was unsuccessful attempt of testing using soap your rest was in JSON format.
So that thing, sorry about that. He can land successfully but I was not able to add a search warrant. Some reasons but a plus functional testing that was this one, it was successful. And we did it. No successfully. So that's pretty much I mean, that doesn't end here.
This is there's a lot. I mean, if you're using in some project anyway, to be honest, you should be using government charging because the security testing, there's a lot of things here to be done. But you have to do a lot of things, but, you know, unfortunately, the others do these guys don't have them. But yeah, that's how you do it. Okay. That's, that's the usage of soap UI.
Okay. Um, there is more. There's more to do actually. You can monitor API's, you can do a lot more things. No, this is football. Yes, yes.
So always check the soap UI log HTTP log. And if you have errors, look at the errors, not, you know, errors, we'll see what exactly the eight enter is. So that pretty much I'll end up here. So, you know, I hope you like this class. Okay. I know it was not completely in detail, but it gives some, so probably I just put as introduction to soap UI testing.
That should be good. Because this is a lot, man. There's a lot to do here. And, Jason, we didn't even run this, Jason. It's too bad. I wanted this Jason to be run.
But of course, we cannot run any load testing on that. And I know security testing for that. That's almost impossible to do that. Okay. So thanks for watching, and I Hope you like this video. And if you have any questions of fourth, you can Google it.
You're more than welcome to see that I know. You know, you can use this see here and get started. You can use this one or if you have more questions if this doesn't work, man just tried this one this is Yeah, this is supposed to work. But in here, it's so very simple but for some reason it's not working. Okay. So are probably I use a different URL, you can try it at home, can try this URL and try this.
Okay, and yeah, you can reach out to me, you can reach out to me at my email id okay. If you have any questions. So that's pretty much it. Again, I hope you like this video. And, you know, we'll, you know, how do you find it useful? This more than not, I'll be more than happy if you find it useful that you learn something in you know you've got some knowledge, most importantly install this practice into your life.
Okay, and thanks for watching and good luck.