Forum Discussion

senthkum's avatar
senthkum
Contributor
6 years ago
Solved

Where can I change the TLS version ?

Hi Team,

 

The source system is using TLS 1.0 version and I am not sure about the TLS version of serviceV pro assuming it is higher versioni guess. Due to which my testing is failing. Currently i am using ReadyAPI 2.7.0. Is there a way to change the TLS version in any of the config file?

This has blocked my whole day work, could you please help me in getting resolved.

 

Thanks

Senthil. M

  •  

    Your syntax is a bit off.  When you do modules.exports.class = A; you're basically saying that the class "A" is exported to other modules as "class".  Try the following and see if it works (worked for me).

     

    // fileA
    class A{
        constructor(x){
          this.x = x
    }
        getX(){
          return this.x
     }
    }
    module.exports.A = A;
    
    //fileB
    var ss = require("fileA");
    
    var tt =  new ss.A("2")