Accessing a .exe file with HTTP Request

Hi!
Can I access an executable file located in a WEB page with JMeter?
I'm tryng to use a HTTP Request:
Server Name or IP: 111.111.111.1
Port Number: 8080
Path: /cliente/file.exe
The file is in a Tomcat application.
When I run, in the View Results Tree - Sampler Result, it shows:
Load time: 63
HTTP response code: 400
HTTP response message: Bad Request
HTTP response headers:
HTTP/1.1 400 Bad Request
Date: Wed, 27 Apr 2005 14:26:09 GMT
Server: Apache-Coyote/1.1
Connection: close
I already had copied the link and placed it into the browser to verify
if it was correct and i had access to the file normaly.
What am I doing wrong?
Thanks in advance.
Marcelo.

If the .exe file is publically-accessible from your web server (like other normal .html files are for example), then accessing that resource would be done the same way as accessing others (get a stream of bytes that the server would serve up, and do something with those bytes on the client end of the connection). I don't know what JMeter has to do with that.

Similar Messages

  • How To Run An External .exe File With Command Line Arguments

    Hiya, could anyone tell me how I can run an external .exe file with command line arguments in Java, and if possible catch any printouts the external .exe file prints to the command line.
    Thanks.

    Using the Runtime.exec() command. And read this:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • How to create a .exe file with eclipse 3.1

    Hello every body. I want to know how create a .exe file with eclipse 3.1. A friend tell me it's possible but he forgot how ! So I ask my question ay you, how can I do that? I think it's like in Dev-C++, when he compiling the programme he create
    a .exe file but in eclipse, i don't know how do that. Please help me, I have finish some programs but I don't know how create .exe file for give their at my friend.
    Thank's.
    P.S : I'm a young french so maybe there are some mistake on my post. I hope you understand it.

    There might be a plugin in eclipse to do this, but I don't know what it is.
    The normal way to deploy a program is to create an executable jar file. This will be a .jar not a .exe.
    Or you can try ggogle.
    http://www.google.co.uk/search?q=java+exe

  • Recording video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http.

    As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?
    What I am trying to do, is to record a user's microphone's input and save it to the server. Afterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
    How can I redirect the http request to the files I was recorded into my applications/appName folder? Or I need to somehow moved the recorded files to the /webroot folder?
    Thanks!

    I probably have asked a stupid question.
    My recorded streams are still saved in the applications/appName/streams folder.
    And I redirect the www.mydomain.com/streams to point to the applications/appName/streams folder.
    And the rmtp recorded streams are abled to connect through http now.

  • How to execute one .exe file with as3 in air ?

    Hi
    How to execute one .exe file with as3 in air?
    I want do this work without fscommand .
    plize help me .

    itsdhanasaraa wrote:
    But as this a web application ... By using Runtime i'm getting some probs ..
    Let me guess, you want your web application to run a program on the client and to your surprise that's not working?
    Ain't gonna happen.
    its taking more time to execute .... that's y is there any other option to execute .exe file other than Runtime.getRuntime().exec("filename");Write proper English and you may be taken more seriously.
    1) it's not "taking more time to execute", whatever that's supposed to mean.
    2) there's no other way to execute something. Not that you should every use even that way anyway
    3) whenever you start thinking of executing external programs from Java, start thinking of not using Java in the first place.

  • Dimmer control for LED lights with HTTP Requests

    Hello,
    I'm al little bit know with LabVIEW, but I have a problem that I can't get fixed.
    For a project we control the led lights in a house with http requests (we use the http get request): this exists of a http address, the number of the light, the PWM (the brightness of the led) and the current.
    Controlling the lights with the switches is easy and is working fine. Now what we want to do is create a dimmer that can be controlled with the switches in the rooms.
    The following should happen: if the users clicks one time (so lets say for less than a second) than the light should just switch on. If he/she pushes the light switch and keeps pushing it than the light should dim.
    So the value of the PWM (and this is a string value) should change from 0 to (lets say) 100 when pushing it once, and it should decrease form 100 tot 0 (step by step) when the user keeps pushing the button. The thing I'm having difficulties with is making a difference between just clicking once and keeping the button pushed for a few seconds in the labview software.
    Any tips or ideas? Any Help is Welcome!
    Thanks
    CORE CVBA

    CORECVBA wrote:
    The thing I'm having difficulties with is making a difference between just clicking once and keeping the button pushed for a few seconds in the labview software.
    It sounds like everything else is working and your problem is to detect the button action details.
    Are you talking about a real physical switch or is this a switch on the LbVIEW front panel?
    All you need to do is detect a off->on transition, When it occurs, place the current tick count into a shift register, then subtract it from the tick count in subsequent iterations (as long as the button is TRUE). Change your output as a function of the elapsed time until the button is released.
    LabVIEW Champion . Do more with less code and in less time .

  • Labview- .EXE file with excel template

    How to create a .exe file from the .vi file with excel template. Since I am giving only .exe file, the client wont be having the excel templates. So please tell me how to build a .exe file with templates which will be invoked by mainfile.vi. Please let me know if U guys know. (Now in my mainfile.vi I am using local file location path to invoke)

    Hi saamy,
    I have tested it out at my PC and it is working.
    I have tested with MS office report and put the template "Excel Template.xlt" under VI's folder (C:\temp) and make the exe file.
    After the exe file has been moved to other place(C:\build) and has been executed, the exe file try to locate  "Excel Template.xlt" under both C:\temp and C:\build. As long as the template is the same folder with exe file, it is working.
    Pls refer to attached file.
    Hopefully it will help. Please let me know the result.
    Thanks & Regards,
    Steve
    Attachments:
    My Application.zip ‏4415 KB

  • Viewing .exe file with video

    I am trying to extract an exe file with client video that is theirs. Is there a way to extract this? All efforts have failed.

    Any file that comes into your Mac without a proper suffix or extension can appear to the OS to be a .exe. Try changing the extension to .mov, .flv, or .wmv and see what happens.
    fi that does not work, your client must provide you with a proper media file.
    bogiesan

  • Problem with HTTPS requests to host with untrusted server certificate

    Hi,
    I develop an iPhone framework which sends HTTPS requests in order to communicate with a publicly available backend server. Currently I have a big problem regarding untrusted server certificates.
    The certificate of the backend server is not signed by a trusted CA, so my first approach was to use NSURLRequest's private allowsAnyHTTPSCertificateForHost. While this worked as expected an was fine as temporary workaround, our customer demands a clean solution as final result. Therefore I wrote a method which allows to install a provided certificate from the file system in the keychain, but this method does not work as expected in the iPhone Simulator. The certificate is installed in the host machine's Mac OS X keychain instead. Unfortunately, if I call NSURLConnection's sendSynchronousRequest method, I retrieve an "untrusted server certificate" error. It seems as if NSURLConnection is not able to access the host's Mac OS X keychain to retrieve the certificate.
    Is my guess correct or did I miss something?
    Would my approach work if I ran my app on a real iPhone device instead (I do not have one available yet)?
    Does there exist a keychain in the iPhone Simulator at all?
    Is it at all possible to send HTTPS requests to a server with an untrusted certificate on the iPhone Simulator or do I have to use precompiler directives to implement different routines depending on the underlying platform (simulator or device, respectively)?
    Any help is highly appreciated.
    Thanks,
    Matthias

    Indeed this would be a clean and simple solution. But our customer is not willing to get a real certificate, for whatever reasons.
    The question that remains is if the HTTPS requests would succeed on the iPhone device itself if the server certificate was installed in the keychain by the same app beforehand.

  • How to run .exe files with Virtual PC for Mac

    Hey Guys, I'm new around here and with mac technology as well. Anyway, I have an iMac OS X 10.5.1 Leopard and I've recently purchased the Virtual PC for Mac 7.0.2 software. So I'd like to know how to use this program properly, because I need to run some executable files in my computer. It is confusing for me because I don't know how to get started, and I only get to the part when it says "OS not found, Install an OS on this hard drive".
    Honestly I've no idea of what an OS is or where do I get that. So I'd really appreciate if one of you guys could tell me, step by step, what to do to use Virtual PC properly, and finally learn how to run .exe files on mac.
    Thanks in advance!
    Have a nice day!

    Always nice to see new faces
    Honestly I've no idea of what an OS is or where do I get that.
    This brings up the second part of your problem. The first part is setting up either a proper Virtual Machine program like Parallels or VMfusion, or setting up a Boot Camp partition on your drive.
    http://www.parallels.com/
    http://www.vmware.com/products/fusion/
    OS stands for Operating System. You are running Leopard 10.5.7 as an operating system on your Mac (MacOS X).
    The second part of your problem - You will need a copy of Windows XP or Vista if you want to run Windows on your Mac.
    There is at least one other solution for running Windows programs on a Mac. It's called "CrossOver" by a company named 'Codeweavers'. It's based on a project for "Wine" to be able to run PC programs on a Mac or Linux, without having to buy or install Windows. It works with a narrow subset of Windows programs so you would want to make sure the program you want to run is compatible with CrossOver before you buy it.
    http://www.codeweavers.com/products/cxmac/
    In addition to all the above information, you need to upgrade your Mac to the latest 10.5.7 from 10.5.1. "Software Update" is located under the black Apple icon in the Menu Bar at the top left corner of your monitor. After you are updated you will want to update your Profile here so that it shows the proper OS version.
    With your level of experience with MacOS X and the Windows OS's you should probably get some help from a local Apple store. They have an appointment system and do offer many types of help and training, and they can offer assistance with choosing the proper programs for you to purchase for your machine.
    You are also welcome to continue to ask questions here, of course. You will want to ask your questions with different issues that come up in different threads so that the answers stay focused on the title of the thread.
    Message was edited by: dechamp to try to be more accurate with a fairly complicated issue...

  • Flash EXE files with FLVs

    Hi,
    I have an Flash file saved as an EXE which contains a couple
    of FLVs. The video and sound play fine when you open the EXE
    directly. In fact, it plays fine when you open it directly from
    wherever I put it (file server, web server, etc). But people will
    access this EXE from a link on a web page, when you click on that
    link, which then opens the EXE file, the video and sound will not
    play. I am stumped - and I'm far from being a Flash video expert.
    Does anyone have any advice?
    Thanks,
    S Ankerbrand

    mmm..
    Is this because the FLVs are still on the server and you have
    given the full
    path to the FLV's ?
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • Cannot access the locked files with Access TrueSuite Manager

    I have locked files with access TrueSuite manager. My Windows bug and now I can not access these files locked.
    When you try to unlock, I get error and I can not read these documents.
    Thanks.
    Excuse my poor English.

    I found this document:
    Useful information regarding file protection with the AuthenTec Fingerprint software
    http://aps2.toshiba-tro.de/kb0/TSB9C02RC0001R01.htm
    Possibly you will not be able to unprotect the files again
    But try that backup the data on the external HDD or somewhere else.
    Then reinstall this software and import the data back from external source.
    Then try to unlock this again

  • Easiest way to access windows media files with DRM?

    hi,
    i've got a whole bunch of music and vid files from an old PC that I can't access on my MBP because they use windows media DRM that is not available for OSX. they won't play with flip 4 mac either.
    my question is: what's the easiest and least invasive way to get access to these files on the MBP? I realise I could use bootcamp and install XP, or do the same with parallels.. but, I don't want to sacrifice the huge amount of drive space needed to get XP working (nor do I really want to have to buy a copy of XP) with either bootcamp or parallels, because I'd really never ever use windows.. only ever to access these files.
    I've heard there is another virtualisation option out there that doesn't even require a full copy of windows, but I don't know what it is or if this was just mistaken hearsay. if anyone has any ideas about if something like this exists, I'd like to hear about it..
    cheers...

    You might be thinking of Crossover. Not sure if Windows Media Player works under it, but their website has info on requested and working apps.
    Best of luck.

  • How do you run .exe files with wine by clicking on them?

    Hi, I need help with using wine on mac osx. I used to use wine on Ubuntu and Linux Mint and it was relatively simple. But on mac osx, I used macports to dowload/install wine, and i used winecfg to create a prefix. I can not figure out for the life of me how to launch an executable by clicking on it. It opens in TextEdit instead of launching in wine. Can someone explain to me how to make a .exe file launch by clicking on it? Do i have to register the filetype with wine? Wine is not in a .app format. I can run any .exe in terminal but it is less than convenient. Thanks in advance.

    So wrap Wine in an application, and bind the .exe's to the wrapper application.
    Platypus (free download)
    <http://www.versiontracker.com/dyn/moreinfo/macosx/19870>
    Can be used to turn any Unix program or script into a double clickable application, as well as a drag and drop target application.
    It should be possible to wrap Wine with Platypus.
    As an alternative, you might try Applications -> Automator -> Run Shell Script workflow, and save that as an application. Then bind your .exe's to that workflow you created.
    NOTE: I have not played with Wine, so your mileage may vary.

  • How do I access my iPhoto files with the Mac version of Lightroom 3?

    I dowloaded Lighthouse 3 to my Macbook Pro and I can not
    access my iPhoto files.

    http://lightroomkillertips.com/2010/video-moving-from-iphoto-to-lightroom-3/

Maybe you are looking for

  • Need information on XPress & CPO Central

    Hi All, I have below doubts on the Xpress and CPO section of SAP Sourcing 7.0:- 1>CPO:- Is CPO Central functioanlity a part of Sourcing installable or I need to buy seprate business object to get the Xcelsius Template for the dashboard. In my SAP Sou

  • CProjects Phase not replicating in PS (PPM5.0 Accouting integration)

    Hi, We are on PPM5.0. Coding masks in PS restric us to use the Project and Phase IDs (in cProjects) according to the PS naming convention. Having named the phase ID in accordance to the PS level 2 ID, when I "Flag for transfer", I get accounting erro

  • Unicode Text Extract

    It looks this problem is not uncommon... I have a PostScript file that is generated by a 3rd party product. Distiller converts it to PDF, but I cannot search or copy a text. It looks this is because the ToUnicode CMap information is not readily avail

  • MAIL My typeface keeps changing itself

    I have set my typeface to heleticae Neue LIGHT in my mail preferences and although that stays there, the body of mail email gets systematically changed to Helvetica "Regular" I like the Light version because it is the same typeface as my signature  a

  • Photoshop CC 2014 always crashes

    Good day, I installed yesterday Photoshop CC 2014 and need to uninstall the Photoshop CC (old) help to penetrate the Errors Fix!