1

If we are to use equivalent partitioning technique, which one of the following answers is the most efficient to test against SQL injection?

  1. bbbbb,12345,'
  2. %, ', @, abn123
  3. ', ab123
  4. '

1 Answer 1

3

The answer is 3.

bbbbb,12345,'

This answer is correct, but from equivalent partitioning point of view, it offers two valid inputs, bbbbb and 12345, from valid input partitioning.

%, ', @, abn123

This answer has three valid inputs from valid input partitioning.

', 123

This answer has one valid input and one escape character.

'

This answer has only got one escape character, no valid input at all.

Please bear in mind, ISTQB exam does not cover everything, letting alone SQL injection techniques. I suggest you spend some time studying SQL injection, there is a good link here. SQL Injection OWASP

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.