Forum Discussion

CBS_Interactive_1's avatar
CBS_Interactive_1
Occasional Contributor
13 years ago

List DataGen Truncates Last Character

Steps to Reproduce:

    Create a List Data Gen item

    Enter false into the Configuration area. *Do NOT press enter to break to line 2

    Run the generator


Expected Result
Generated property value should be false

Actual Result
The property value returned is fals. Essentially the last character, no matter the string entered, is always truncated by one character.

Side note:
If you break to a new empty line it returns the value in its entirety.

Win7
SoapUI Pro 4.5 Beta 2

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello,

    I can't seem to reproduce this behavior - can you perhaps share this test case/step here
    or with support (smartbear-sweden-support at smartbear) ?

    Thanks!

    Vladimir
    SmartBear Software
  • CBS_Interactive_1's avatar
    CBS_Interactive_1
    Occasional Contributor
    Sure, I've attached a simple Test Case that I created that contains a DataGen Test step with 1 List item - the number 123. Simply click the Evaluate all STEP properties button and check the Last column where you should see the output is 12 instead of 123. Again, this is in SoapUI Pro 4.5 Beta 2.

    Thanks for looking into this.

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello,

    We could not reproduce this behavior even with your test case. When loaded your test case I can see only one element in list ( 12 ).
    Out is also correct: 12. I wonder what soapUI Pro version are using? Can you try soapUI Pro 4.5?

    robert
    /Smartbear