It's hard to say where your issue is based on that description.
I would advise you to start with a blank script, and simply put the Send HTTP Response step in there, sending the following document back TEXT[hello, world!]. Then save it to the repository, create a new application, and new HTTP trigger. The trigger name can be called test if you like. You'll notice that if you enter test as the name, it will be saved as /test, but that's fine.
Then in your browser, navigate to http://<uccx>:9080/test to see if the browser shows hello, world! to you.
Let me know how it goes from there, and we can build up to what you are ultimately trying to do.