Forum Discussion

porcupineRabbit's avatar
porcupineRabbit
Occasional Contributor
3 years ago

Set custom names in Data Generator

Hello,

we are using the DataSource Test Step as a DataGenerator, to create random names (Property Type: Custom String, Value: %NAME(Any, FirstName)).
Is it possible to somehow add names or replace the names generated?

 

Thanks in advance,

Kostas

5 Replies

  • AAB's avatar
    AAB
    Regular Contributor

    Hi porcupineRabbit 

     

    I don't think so using this object in ReadyAPI. I think they've hardcoded those random names. That's the meaning of random.

    But why aren't those names not good enough please? Why should they be different to your oppinion? Can't you use these? or aren't there enough names?

     

    TatyanaWeb  Nastya_Khovrina ?

     

    Kind regards,

    AAB

    • porcupineRabbit's avatar
      porcupineRabbit
      Occasional Contributor

      Hello AAB,

      the names are just fine and but we would like to generate some e.g. with Greek characters.

      If they are hard-coded then it is not possible, for sure. Is there any other object we can use AAB ?

       

      Kind regards,

      Kostas

      • AAB's avatar
        AAB
        Regular Contributor

        porcupineRabbit 

        You could for example create a textfile with those strange characters and use this as datasource? 😉 

         

        Kind regards,

        AAB