Skip to content

variable to reports itself IF

I want %url_if_found%  to be set to %url_to_test%  ONLY if  %url_to_test%  's content match text  %content_to_find%
So i tryed:, bot no sucess

1)
[url_if_found]
type=extract
url = %url_to_test%
page must have1=%content_to_find%


2)
add fixed url_if_found=%url_to_test%
add fixed url_if_foundcondition=%content_to_find%



How to do so ?



Comments

  • SvenSven www.GSA-Online.de

    add fixed data=%url_if_found%=%whatsoever%

    add fixed data condition=%content_to_find%

  • But, wont that be on actual page ?  ( and not on   %url_to_test%  as expected ...) 

  • SvenSven www.GSA-Online.de
    correct. Then it will not work.
  • edited October 2014
    Ok, for other user info, here is how i handled that:


    [STEP3]
    modify url=%checkurl1%
    just download=1
    verify url=%checkurl1%

    [STEP4]
    modify url=%checkurl2%
    just download=1
    verify url=%checkurl2%

    So, it will stop on verifiedURL

  • SvenSven www.GSA-Online.de
    that will not work as "verify url" is only taken from *STEP1
  • "verify url" can not be updated after step 1 ?
  • SvenSven www.GSA-Online.de
    no sorry.
Sign In or Register to comment.