Skip to content

GSA Logic Question

Quick question on how GSA will behave when given multiple paths are available.

For example if I include:

find url =*path1.php|*path2.php|*path3.php

How will GSA handle this?
  • Will it only try the first one it matches?
  • If the first one fails will it try the second, and each subsequent entry after that?
Thanks,
Adam


Comments

  • SvenSven www.GSA-Online.de
    It tries to locate all matches but the one at the more left position gets a higher priority. The best match will propably get the link where "find link" and "find url" matches.
  • Ok thanks. And if it fails?
  • SvenSven www.GSA-Online.de
    the "alternative url" is used or if not present...it aborts the submission.
  • So it will never try the next "find url" match?
  • SvenSven www.GSA-Online.de

    whats the next find url for you? I think you understood it wrong.

    find url=urlmask1|urlmask2|urlmask3

    if urlmask1 is found and urlmask2 then urlmask1 has priority over urlmask2

    but if "find link=linkmask1|linkmask2" matchas on same url than urlmask2 then it takes the one matching urlmask and linkmask.

  • I understand that.

    But if urlmask1 fails for some reason, will GSA give up at this point, or will it try urlmask2 before aborting?
  • SvenSven www.GSA-Online.de
    of course it will check with all urlmasks...else it would not make any sense to have more than one mask there.
  • edited April 2014
    I meant after in the initial selection process. For example: GSA finds urlmask1 and urlmask2 on the page. GSA goes to urlmask1 page (as it is listed first, and takes a higher priority). GSA fails because urlmask1 has no form on the page (or any other error). Does GSA try again with urlmask2, or give up?
  • SvenSven www.GSA-Online.de
    Ahh OK, naw it will not try urlmask2.
  • Ah that's a shame. Thanks for the clarification :)

    Would it be difficult to implement something like that?
  • SvenSven www.GSA-Online.de
    hmm I don't see a need for this. You better would optimize the engine to take the other link first. It doesn't usually happen where two masks match.
  • When platforms identified and grouped, you are right, it is unlikely to occur.

    However, If you were looking to use a less targeted approach you could post to stuff that would normally be missed.

    Thanks.
    Adam
  • SvenSven www.GSA-Online.de
    if you deliver a sample url where this would make sense Im ready to make it happen.
Sign In or Register to comment.