parsing url for test optionating