I have a scenario where api uploads a document, can simply create duplicate request but don’t want that like in the image @anon46315158 any leads pls
Want to execute the same request 4 times with different file types each.
you have to parametrize the value for the ‘file’ (as you did for id) and ofcourse create the variable in the tab (you can put your current value there for a quick test.
on the testcase, you create a list with the needed paths to the files (a list of strings defining the path to the files) and iterate over it, calling your request object and bind the value. easy peasy.
I wont do that. For katalon related stuff i am reachble only on the forum, i like to keep my email adress private.
However you are on the right path, keep exploring and tell us where you are blocked… But i will be glad if you can figure it out. Is not that hard, just tricky.
We are around to guide you.
Apologies accepted.
I will take a closer look at your use case, as my free time will afford it… But you have to understand, all of us from this comunity have also jobs to do… families… dogs… And so on…
Odd that it complains about ":" but talks about the wrong index…
Regardless… if you’re showing me the source there, you must escape backslashes (with another backslash, which, confusingly, is the escape character, too).
So, replace all \ with \\
C:\\Users\\...
By the way, do you have a user called path? Or is that a typo?
I already told you, I don’t test WS like this. The only way I could do that for you, is to read the documentation for you, write the code for you, and paste it here for you.
Thanks but this leads to me helping you out eventually and found a bug,
now will try to work with multiple files iteration which i don’t know but will try .