Karma Jasmin how to update the window href - jasmine

I want to update the window href location while jasmine open the browser
e.g localhost:9876/conrtext.html?language=en
please let me know if any one has implemented such type of scenario
Thanks in advance

Related

How to know the location of file from url?

What I want to know is how to know which file is being called to render the webpage
i.e., for example I am visiting an url: http://local-servername/abc/0/86#Create
the page is loading fine but what I should know is from which code is being called and how the page is loading
I am using fiddler to get that info but I am unable get the file names and location.
please suggest how to use fiddler or is there any other tools for this
thanks in advance

CKEditor integration with laravel-filemanager

I'm using CKEditor and laravel-filemanager, which is a nice package written for Laravel. Anyway, I'm having trouble passing the URL of the selected image from the filemanager browser to the URL field in the plugin dialog in CKEditor. I did everything included in the README file of the laravel-filemanager, but I had no luck.
This link says I should use predefined route for 'filebrowserBrowseUrl=' in the CKEditor and the rest of the params in the query string is auto-generated like:
'myRoute/?type=Images&CKEditor=editor1&CKEditorFuncNum=1&langCode=en'.
My problem is that there is no 'CKEditorFuncNum' param in the url. When I click the 'Browse Server' button, pop-up window is opened with url: 'myRoute', with the query string params missing. Anyone familiar with CKEditor and laravel-filemanager knows what's going on when the pop-up window is opened. The 'CKEditorFuncNum' param is retreived by regex and then the function gets executed and the URL is passed to the editor dialog.
Since no URL is set in my case, clearly I'm missing something. If anyone knows something more, please share it with me, 'cause this is very annoying.
Thanks in advance

Firefox plugin to convert POST request to GET?

I heard there was a Firefox plugin called "POST-to-GET" but I can't seem to find it. It is supposed to intercept a POST request and convert it to a GET request with the parameters appended to the query string. Does anyone know of a plugin that does this?
Here it is:
https://addons.mozilla.org/en-US/firefox/addon/60/
When you install it in the top bar there will be a menu "Forms" click
it you'll see a dropdown with multiple options go to "Convert Form Methods"
and change accordingly

how to track ajax request in IE as we do using firebug in FF?

i have a page i.e. banerbuzz open it in IE-6 here you will find the Instant price box where Size drop down will show only one size, where as if same url is executed in FF you will find the real drop down box which is needed.
i think this could be the issue of path given in ajax file
please help me or suggest me to resolve this issue
Fiddler is a great way to debug Ajax applications on windows.

Using Jmeter to fill out a form?

Can anyone help me figure out how to use jmeter and force it to fill out and submit a form automatically? For example, I need to fill out the google search box and then click the I'm Feeling Lucky button?
Google is not a good example because it uses GET for the form. For example, to search "jmeter" and press Feeling Lucky button, you can just send this URL,
http://www.google.com/search?hl=en&source=hp&q=jmeter&oq=&btnI=1
To do a real post, you need to find the form control field names from a trace or by looking at HTML source and just do something like showed here. The username/password are the field name to post. The action is http://www.example.com/login.
Please note the screen shot is wrong. The method is a "GET" and it should be set to "POST", otherwise the form will not be submitted properly.
Is there a reason why you want to load test Google? If you just want to have a script that tests the functionality of a Website, try selenium: http://seleniumhq.org/. If you are actually trying to load test a form, you have to create the appropriate request. Using a tool like Fiddler can help.

Resources