Handler Testing File upload

Hi All,

I want to test my handler with the case of upload image using testbox, But I couldn’t find the solution. If anybody have solution please share…

Thank you.

So you have a basically in your handler and you want to set up an HTTP request to actually test it?



Hi Brad,

You got right! I want to do exactly same. But as far as I know, All values pass to handler by URL only. So this is creating a issue for me.

Well, it is possible to spoof an HTTP verb of POST via mocking request context and populate form fields in the request collection (rc). However, I don’t think tha would work for an actual file upload. I’ve never actually tried it though.