Forum Discussion

kumaryogeshyk's avatar
kumaryogeshyk
New Contributor
4 years ago
Solved

How to add Endpoint in SOAP services section of environment using groovy?

How to to set any value in Endpoint column of soap services section through groovy?   Yogesh   
  • kumaryogeshyk's avatar
    kumaryogeshyk
    4 years ago

    Thank you so much richie G for your valuable comment.

     

    Finally i have got the answer of m question.

     

    def config=env.getSoapServiceAt(i).getEndpoint().getConfig()
    log.info "Demo1 : "+config.getStringValue()
    config.setStringValue("ReadApi")

    log.info "Demo2 : "+config.getStringValue()

     

    Thanks

    Yogesh