Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Can we record and playback web applications using jmeter like doing in selenium/QTP(want to test live server not using localhost)?
Thanks in advance
yes you can. http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf
this will give you a good idea.
You may use HTTP Proxy Server available in Workbench Non Test Elements to perform recording. You need to follow only below three steps:
1. Add HTTP Proxy with any port of localhost which is not being use.
2. Configure your default browser LAN settings to use localhost with port specified in above step, to be used as proxy.
3. Click on Start in JMETER Http Proxy Server followed by actions to be recorded in any browser of your choice.
You can follow this link http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf for more details as well.
Can we record and playback web applications using jmeter?
Yes. See here and here
Maybe you can try Badboy? You can download the software here:
http://www.badboy.com.au/
Here is the HOWTO document:
http://www.badboysoftware.biz/docs/jmeter.htm
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am working on making an audio streaming or sharing site like
Soundcloud and sportify using django where users can login create account upload audio files share the audio files ...
My question is how do I handle the audio files ...
do I host the audio files in a separate server
or use one of those cloud server... If this would like to know which server
any other think I need to know to go about this project
Thank you
Q) do I host the audio files in a separate server
A) I think it depends on the size of the server. If it's big enough for spotify, it should have multiple server for many audio files.
Q) or use one of those cloud server... If this would like to know which server
A) You can use cloud server, but I guess it's more expensive. If the expense is high, you can use cloud server: it's much convenient way.
Do you want to use DRF for this project? I don't know why you want to make streaming site with django. I love django but I think it's not that profit to your purpose.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How can I create a file (let's say a markdown file) that persists on the server, strictly using HTML5? So no database or web server, just an static site server.
Your question is probably too broad but you need some type of program that serves a file but not "server software" such as Apache or nginx. Just like those web servers, they are written to listen to a port on the IP address of the computer attached to an internet connection somewhere. A program to do that is actually relatively easy to write but all the needs of a proper web server aren't such as needed security and the ability to interface to other programs.
But then that program is, in essence, a server and functions in the same manner so being able to serve a file without a server of some sort in some manner isn't possible.
Whole books are written about this and one of the best is, "Advanced Programming in the Unix Environment" by Stevens and "Unix Network Programming" also by Stevens.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Here is a simplifed example.
I have a c program that runs as a daemon on an embedded linux system. For example we will say the program is a calculator that just does addition.
When someone starts the program, I would like a web server to be launched on the system that allows people to remotely use the calculator. The webserver will just serve a simple html page with 1 button "solve" and two input boxes. When someone clicks solve the numbers in the text box need to be sent to the c program, and then the solution needs to be sent back to the web server and displayed on the website.
I hope this isn't overly broad, but I'm just looking for what technologies would be used to accomplish this and a brief overview of how they interact, and hopefully I can take it from there and start digging in.
You don't need to start an external web server. Since your app is a deamon, you could use some HTTP server library inside your application -i.e. have an embedded HTTP server thru that library, e.g. D.Moreno's libonion, GNU libmicrohttpd, EHS, Mongoose etc..
If you already have an external web server, you could configure it to proxy your internal application web service, or make your application a FastCgi (or maybe SCGI) server.
PS. You need to be familiar with HTML5, HTTP, POST request of HTTP, ...
As the interaction is taken place between processes, I think you need interprocess communication mechanism here. However, you may not allowed to change the code of webserver. Here's some thing may help you:
Use database (mysql) which you can use sql to insert/fetch data both sides.
If you use Php or someother script language, try Sockets
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I started creating online open source game as a project in school. It will be server with n connected clients. But now I have a problem with "security". What to do if one client would used modified source code for changing some restrictions? How can I prevent it? My first idea was make client only for connection to server and server would send all necessary files but I don't like this idea very much. Can you advise me something better? Thank you.
You need to keep your validations in the server. The server should check each client move, and if it's not allowed according to the server's rules - reject it.
You should still keep validations in the client, too, so that users who don't mess with the client code can get speedier responses.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
What is the name where the application shows messages of any updates available whenever the update is available?
Is it called web service?
For example, I have installed an antivirus (avast); sometimes a small popup message shows that an update is available.
I have very vague idea about it, it must be contacting the server periodically for checking the new updates are available or not.
I do not know what the application name is so I was not able to search.
It's called an auto-update software feature. It's part of the software itself usually - If you'd like to look at some API's regarding implementing them into your application, find out more here. WinSparkle is also something you could look into if your doing Windows development.
Those are vendor dependant solutions. It is usually not a separate software checking for updates. All they do is query a web service that replies with the 'current' version. At least as long as talking about MS-Windows. More elegant and efficient solutions exist in the Linux environment.