healenium / healenium-web

Self-healing library for Selenium Web-based tests
Apache License 2.0
170 stars 40 forks source link

[Need support]: Failed to perform POST request. Reason: Failed to connect to localhost/127.0.0.1:7878 #208

Closed rgupta95 closed 1 month ago

rgupta95 commented 2 years ago

Describe the problem

I have tried integrating healenium latest maven dependency 3.3.0 but getting below error while running the project Oct 10, 2022 9:21:11 PM com.epam.healenium.client.HealingClient makePost WARNING: Failed to perform POST request. Reason: Failed to connect to localhost/127.0.0.1:7878 [INFO] sessionKey= null [WARNING] Couldn't obtain session key from server!

Healenium Web version

3.3.0

Healenium Backend version

3.2.4

Selenium version

4.4.0

Platform

18.02

Properties file

recovery-tries = 1 score-cap = 0.5 heal-enabled = true hlm.server.url = http://localhost:7878 hlm.imitator.url = http://localhost:8000

Logs appeared during using Healenium

healenium/hlm-backend:3.2.4 logs

SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in [jar:file:/healenium-backend.jar!/BOOT-INF/lib/logback-classic-1.2.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in [jar:file:/healenium-backend.jar!/BOOT-INF/lib/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
 SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]

                      &@@@@@@@@@@:              @@@@@@@@@@8                    
                 @@@@@@@@@@@@@@@@@@@@@:    @@@@@@@@@@@@@@@@@@@@@               
               @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&            
            @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@          
          .@@@@@@@@@@*            @@@@@@@@@@@@@            *@@@@@@@@@@@        
         @@@@@@@@@*              .@@@@@@@@@@                   @@@@@@@@@       
        @@@@@@@@@               @@@@@@@@@@                      o@@@@@@@@      
       :@@@@@@@              .@@@@@@@@@@                          @@@@@@@@     
       @@@@@@@*            .@@@@@@@@@@                             @@@@@@@     
      #@@@@@@@            @@@@@@@@@@                               @@@@@@@#    
      @@@@@@@o          @@@@@@@@@@                                 o@@@@@@@    
      @@@@@@@o       .@@@@@@@@@@                                   o@@@@@@@    
      8@@@@@@@     .@@@@@@@@@@           :@@&                      @@@@@@@8    
       @@@@@@@o   @@@@@@@@@@          @@@@@@@@@@                   @@@@@@@     
        @@@@@@@*@@@@@@@@@@          @@@@@@@@@@@@@@                @@@@@@@@     
        @@@@@@@@@@@@@@@@          @@@@@@@@@@@@@@@@              @@@@@@@@@      
         &@@@@@@@@@@@@          @@@@@@@@@@@@@@@@@@            o@@@@@@@@@       
          @@@@@@@@@@           @@@@@@@@@@@@@@@@@@@           @@@@@@@@@@        
         @@@@@@@@@             @@@@@@@@@@@@@@@@@.         o@@@@@@@@@@@@@       
        @@@@@@@@               @@@@@@@@@@@@@@@          o@@@@@@@@@@@@@@@@      
       @@@@@@@@                 @@@@@@@@@@@@          o@@@@@@@@@# @@@@@@@@     
       @@@@@@@                    @@@@@@@@           @@@@@@@@@@    @@@@@@@     
      @@@@@@@@                                    o@@@@@@@@@@      @@@@@@@@    
      @@@@@@@*                                  o@@@@@@@@@#        *@@@@@@@    
      @@@@@@@@                                o@@@@@@@@@@          #@@@@@@@    
      :@@@@@@@                              o@@@@@@@@@@            @@@@@@@:    
       @@@@@@@@                           o@@@@@@@@@@             @@@@@@@@     
        @@@@@@@@                        o@@@@@@@@@@              @@@@@@@@      
         @@@@@@@@                      @@@@@@@@@@               @@@@@@@@@      
          @@@@@@@@@*                @@@@@@@@@@@               @@@@@@@@@:       
           @@@@@@@@@@@@&        #@@@@@@@@@@@@@@@@        *@@@@@@@@@@@@         
             @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@           
               &@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@             
                   @@@@@@@@@@@@@@@@@#       #@@@@@@@@@@@@@@@@@.                

 2022-10-10 15:54:01.218  INFO 1 - [       main] com.epam.healenium.Application   : Starting Application using Java 1.8.0_212 on 4d1a5f6f0bd6 with PID 1 (/healenium-backend.jar started by root in /) 
 2022-10-10 15:54:01.221  INFO 1 - [       main] com.epam.healenium.Application   : No active profile set, falling back to 1 default profile: "default" 
 2022-10-10 15:54:02.207  INFO 1 - [       main] .RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 
 2022-10-10 15:54:02.407  INFO 1 - [       main] .RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 192 ms. Found 4 JPA repository interfaces. 
 2022-10-10 15:54:03.104  INFO 1 - [       main] o.s.b.w.e.t.TomcatWebServer      : Tomcat initialized with port(s): 7878 (http) 
 2022-10-10 15:54:03.117  INFO 1 - [       main] o.a.c.core.StandardService       : Starting service [Tomcat] 
 2022-10-10 15:54:03.117  INFO 1 - [       main] o.a.c.core.StandardEngine        : Starting Servlet engine: [Apache Tomcat/9.0.64] 
 2022-10-10 15:54:03.206  INFO 1 - [       main] o.a.c.c.C.[.[localhost].[/]      : Initializing Spring embedded WebApplicationContext 
 2022-10-10 15:54:03.206  INFO 1 - [       main] rvletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1939 ms 
 2022-10-10 15:54:03.464  INFO 1 - [       main] c.z.hikari.HikariDataSource      : HikariPool-1 - Starting... 
 2022-10-10 15:54:03.579  INFO 1 - [       main] c.z.hikari.HikariDataSource      : HikariPool-1 - Start completed. 
 2022-10-10 15:54:03.728  INFO 1 - [       main] liquibase.database               : Set default schema name to healenium 
 2022-10-10 15:54:03.901  INFO 1 - [       main] liquibase.lockservice            : Successfully acquired change log lock 
 2022-10-10 15:54:04.335  INFO 1 - [       main] liquibase.changelog              : Creating database history table with name: healenium.databasechangelog 
 2022-10-10 15:54:04.425  INFO 1 - [       main] liquibase.changelog              : Reading from healenium.databasechangelog 
 Running Changeset: changelog/001_createSequence.xml::3::nkobzev
 2022-10-10 15:54:04.536  INFO 1 - [       main] liquibase.changelog              : Sequence healing_result_seq created 
 2022-10-10 15:54:04.547  INFO 1 - [       main] liquibase.changelog              : ChangeSet changelog/001_createSequence.xml::3::nkobzev ran successfully in 12ms 
 Running Changeset: changelog/002_selector.xml::5::nkobzev
 2022-10-10 15:54:04.582  INFO 1 - [       main] liquibase.changelog              : Table SELECTOR created 
 2022-10-10 15:54:04.594  INFO 1 - [       main] liquibase.changelog              : ChangeSet changelog/002_selector.xml::5::nkobzev ran successfully in 34ms 
 Running Changeset: changelog/002_selector.xml::6::nkobzev
 2022-10-10 15:54:04.650  INFO 1 - [       main] liquibase.changelog              : Index SELECTOR_PK created 
 2022-10-10 15:54:04.661  INFO 1 - [       main] liquibase.changelog              : ChangeSet changelog/002_selector.xml::6::nkobzev ran successfully in 56ms 
 Running Changeset: changelog/003_healing.xml::7::nkobzev
 2022-10-10 15:54:04.695  INFO 1 - [       main] liquibase.changelog              : Table HEALING created 
 2022-10-10 15:54:04.706  INFO 1 - [       main] liquibase.changelog              : ChangeSet changelog/003_healing.xml::7::nkobzev ran successfully in 34ms 
 Running Changeset: changelog/003_healing.xml::8::nkobzev
 2022-10-10 15:54:04.751  INFO 1 - [       main] liquibase.changelog              : Index HEALING_PK created 
 2022-10-10 15:54:04.755  INFO 1 - [       main] liquibase.changelog              : Foreign key constraint added to HEALING (SELECTOR_ID) 
 2022-10-10 15:54:04.763  INFO 1 - [       main] liquibase.changelog              : ChangeSet changelog/003_healing.xml::8::nkobzev ran successfully in 45ms 
 Running Changeset: changelog/004_healingResult.xml::9::nkobzev
 2022-10-10 15:54:04.797  INFO 1 - [       main] liquibase.changelog              : Table HEALING_RESULT created 
 2022-10-10 15:54:04.808  INFO 1 - [       main] liquibase.changelog              : ChangeSet changelog/004_healingResult.xml::9::nkobzev ran successfully in 34ms 
 Running Changeset: changelog/004_healingResult.xml::10::nkobzev
 2022-10-10 15:54:04.898  INFO 1 - [       main] liquibase.changelog              : Index HEALING_RESULT_PK created 
 2022-10-10 15:54:04.903  INFO 1 - [       main] liquibase.changelog              : Foreign key constraint added to HEALING_RESULT (HEALING_ID) 
 2022-10-10 15:54:04.909  INFO 1 - [       main] liquibase.changelog              : ChangeSet changelog/004_healingResult.xml::10::nkobzev ran successfully in 89ms 
 Running Changeset: changelog/005_report.xml::11::nkobzev
 2022-10-10 15:54:04.943  INFO 1 - [       main] liquibase.changelog              : Table REPORT created 
 2022-10-10 15:54:04.955  INFO 1 - [       main] liquibase.changelog              : ChangeSet changelog/005_report.xml::11::nkobzev ran successfully in 34ms 
 Running Changeset: changelog/005_report.xml::12::nkobzev
 2022-10-10 15:54:05.033  INFO 1 - [       main] liquibase.changelog              : Index REPORT_PK created 
 2022-10-10 15:54:05.044  INFO 1 - [       main] liquibase.changelog              : ChangeSet changelog/005_report.xml::12::nkobzev ran successfully in 77ms 
 2022-10-10 15:54:05.067  INFO 1 - [       main] liquibase.lockservice            : Successfully released change log lock 
 2022-10-10 15:54:05.220  INFO 1 - [       main] o.h.j.internal.util.LogHelper    : HHH000204: Processing PersistenceUnitInfo [name: default] 
 2022-10-10 15:54:05.282  INFO 1 - [       main] org.hibernate.Version            : HHH000412: Hibernate ORM core version 5.6.9.Final 
 2022-10-10 15:54:05.510  INFO 1 - [       main] o.h.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 
 2022-10-10 15:54:05.616  INFO 1 - [       main] org.hibernate.dialect.Dialect    : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect 
 2022-10-10 15:54:06.450  WARN 1 - [       main] o.h.m.internal.MetadataContext   : HHH015011: Unable to locate static metamodel field : com.epam.healenium.model.domain.Selector_#nodePathWrapper; this may or may not indicate a problem with the static metamodel 
 2022-10-10 15:54:06.458  INFO 1 - [       main] h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 
 2022-10-10 15:54:06.467  INFO 1 - [       main] ontainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 
 2022-10-10 15:54:07.627  INFO 1 - [       main] .s.b.a.e.w.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 
 2022-10-10 15:54:07.671  INFO 1 - [       main] o.s.b.w.e.t.TomcatWebServer      : Tomcat started on port(s): 7878 (http) with context path '' 
 2022-10-10 15:54:07.692  INFO 1 - [       main] com.epam.healenium.Application   : Started Application in 7.24 seconds (JVM running for 7.895) 
 2022-10-10 16:03:54.669  INFO 1 - [7878-exec-1] o.a.c.c.C.[.[localhost].[/]      : Initializing Spring DispatcherServlet 'dispatcherServlet' 
 2022-10-10 16:03:54.670  INFO 1 - [7878-exec-1] o.s.w.s.DispatcherServlet        : Initializing Servlet 'dispatcherServlet' 
 2022-10-10 16:03:54.671  INFO 1 - [7878-exec-1] o.s.w.s.DispatcherServlet        : Completed initialization in 1 ms 
 2022-10-10 16:03:54.845  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//a[normalize-space()='qa_atlantis']) 
 2022-10-10 16:03:55.729  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:03:55.863  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:03:55.978  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:03:56.058  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:03:56.094  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:03:56.152  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:03:56.235  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//button[normalize-space()='Log in']) 
 2022-10-10 16:04:53.329  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:04:53.508  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:04:53.603  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:04:53.682  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:04:53.716  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:04:53.772  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:04:53.863  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//button[normalize-space()='Log in']) 
 2022-10-10 16:04:56.279  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='Create']) 
 2022-10-10 16:04:56.369  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='Create']) 
 2022-10-10 16:04:56.681  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@data-value='asn']) 
 2022-10-10 16:04:56.808  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@data-value='manual']) 
 2022-10-10 16:04:56.944  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@data-value='manual']) 
 2022-10-10 16:04:57.099  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@data-value='manual']) 
 2022-10-10 16:04:57.438  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='client_name']) 
 2022-10-10 16:04:57.552  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='client_name']) 
 2022-10-10 16:04:57.640  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='client_name']) 
 2022-10-10 16:04:57.733  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@data-value='manual']) 
 2022-10-10 16:04:57.765  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@data-value='manual']) 
 2022-10-10 16:05:08.459  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='client_name']) 
 2022-10-10 16:05:08.607  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='client_name']) 
 2022-10-10 16:05:18.780  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='service_id']/div/input) 
 2022-10-10 16:05:19.037  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.linkText(Advance Editing) 
 2022-10-10 16:05:19.373  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//*[@name='cs_assignment_line']/div[2]/div/table/tbody/tr/td[2]) 
 2022-10-10 16:05:19.486  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//*[@name='cs_assignment_line']/div[2]/div/table/tbody/tr/td[2]) 
 2022-10-10 16:05:19.906  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='priority_id']/div/input) 
 2022-10-10 16:05:20.124  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.linkText(Standard) 
 2022-10-10 16:05:20.359  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='client_deadline']) 
 2022-10-10 16:05:20.463  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='client_deadline']) 
 2022-10-10 16:05:20.954  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='client_deadline']) 
 2022-10-10 16:05:21.328  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='sa_level1_id']/div/input) 
 2022-10-10 16:05:21.734  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.linkText(A - Life Sciences) 
 2022-10-10 16:05:21.879  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.linkText(A - Life Sciences) 
 2022-10-10 16:05:22.133  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='sa_level2_id']/div/input) 
 2022-10-10 16:05:23.340  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='sa_level2_id']/div/input) 
 2022-10-10 16:05:23.636  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.linkText(Agriculture) 
 2022-10-10 16:05:23.870  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='sa_level3_id']/div/input) 
 2022-10-10 16:05:24.057  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.linkText(Agribusiness) 
 2022-10-10 16:05:24.242  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.linkText(Agribusiness) 
 2022-10-10 16:05:24.425  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='purpose']) 
 2022-10-10 16:05:24.590  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='purpose']) 
 2022-10-10 16:05:24.648  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='purpose']) 
 2022-10-10 16:05:24.791  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='english_type']) 
 2022-10-10 16:05:24.820  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='english_type']) 
 2022-10-10 16:05:25.930  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "American English"]) 
 2022-10-10 16:05:26.294  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='document_format_output_id']/div/input) 
 2022-10-10 16:05:26.724  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.linkText(MS Word) 
 2022-10-10 16:05:26.966  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='trial']/input) 

 2022-10-10 16:05:28.468  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "No"]) 
 2022-10-10 16:05:28.699  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='qc_tag']) 
 2022-10-10 16:05:30.190  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "No"]) 
 2022-10-10 16:05:31.314  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='client_mode']) 
 2022-10-10 16:05:32.420  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "New"]) 
 2022-10-10 16:05:32.793  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='references_checked']) 
 2022-10-10 16:05:33.022  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='references_checked']) 
 2022-10-10 16:05:34.498  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "No"]) 
 2022-10-10 16:05:35.217  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='b2b_b2c']) 
 2022-10-10 16:05:36.394  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "B2C"]) 
 2022-10-10 16:05:36.696  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='language_of_communication']/div/input) 
 2022-10-10 16:05:36.964  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.linkText(English) 
 2022-10-10 16:05:37.201  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='formatting']) 
 2022-10-10 16:05:37.364  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='formatting']) 
 2022-10-10 16:05:38.720  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "No"]) 
 2022-10-10 16:05:39.617  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='journal_name']) 
 2022-10-10 16:05:39.763  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='#####']) 
 2022-10-10 16:05:39.869  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save 
 2022-10-10 16:05:40.268  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='article_type']) 
 2022-10-10 16:05:40.378  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='article_type']) 
 2022-10-10 16:05:40.658  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='website_code']/div/input) 
 2022-10-10 16:05:41.121  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.linkText(##### #####-Global) 
 2022-10-10 16:05:41.229  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='cover_letter_type_special']/input) 
 2022-10-10 16:05:41.525  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='cover_letter']) 
 2022-10-10 16:05:41.613  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='cover_letter']) 
 2022-10-10 16:05:42.977  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "No"]) 
 2022-10-10 16:05:44.044  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='figures_checked']) 
 2022-10-10 16:05:44.336  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='figures_checked']) 
 2022-10-10 16:05:45.745  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "No"]) 
 2022-10-10 16:05:46.992  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='client_type']) 
 2022-10-10 16:05:47.133  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='client_type']) 
 2022-10-10 16:05:48.244  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "Normal"]) 
 2022-10-10 16:05:48.571  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='manuscript_in_word_document']) 
 2022-10-10 16:05:48.612  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='manuscript_in_word_document']) 
 2022-10-10 16:05:50.002  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "No"]) 
 2022-10-10 16:05:51.195  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='brand_id']/div/input) 
 2022-10-10 16:05:51.731  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.linkText(Enago) 
 2022-10-10 16:05:51.965  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='delivery_type']) 
 2022-10-10 16:05:52.060  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='delivery_type']) 
 2022-10-10 16:05:53.192  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "Internal Delivery"]) 
 2022-10-10 16:05:53.532  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='iso_delivery']) 
 2022-10-10 16:05:53.795  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//select[@name='iso_delivery']) 
 2022-10-10 16:05:55.208  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(.//option[normalize-space(.) = "No"]) 
 2022-10-10 16:05:56.648  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='internal_delivery_email']) 
 2022-10-10 16:05:56.851  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='internal_delivery_email']) 
 2022-10-10 16:05:57.085  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='advance_report']/input[@class='custom-control-input']) 
 2022-10-10 16:05:57.224  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='vip_report']/input[@class='custom-control-input']) 
 2022-10-10 16:05:57.524  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='question_batch_opted']/input[@class='custom-control-input']) 
 2022-10-10 16:05:57.794  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='enago_mi_opted']/input[@class='custom-control-input']) 
 2022-10-10 16:05:58.041  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='file_revision']/input[@class='custom-control-input']) 
 2022-10-10 16:05:58.319  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='ic_code']) 
 2022-10-10 16:05:58.490  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='ic_code']) 
 2022-10-10 16:05:58.545  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='ic_code']) 
 2022-10-10 16:06:00.720  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//*[@name="cs_instruction_line"]/div[2]/div/table/tbody/tr/td/a) 
 2022-10-10 16:06:00.758  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//*[@name="cs_instruction_line"]/div[2]/div/table/tbody/tr/td/a) 
 2022-10-10 16:06:01.123  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='cs_instruction_line']//div//tr/td[1]/textarea[@class='o_field_text o_field_widget o_input o_required_modifier']) 
 2022-10-10 16:06:01.253  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='cs_instruction_line']//div//tr/td[1]/textarea[@class='o_field_text o_field_widget o_input o_required_modifier']) 
 2022-10-10 16:06:01.315  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='cs_instruction_line']//div//tr/td[1]/textarea[@class='o_field_text o_field_widget o_input o_required_modifier']) 
 2022-10-10 16:06:01.607  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='type_ined']/input[@class='custom-control-input']) 
 2022-10-10 16:06:01.817  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='mark_reviewed']/input) 
 2022-10-10 16:06:01.968  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='mark_reviewed']/input) 
 2022-10-10 16:06:03.161  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='type_qc']//label) 
 2022-10-10 16:06:03.406  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='Upload Client File(s)']) 
 2022-10-10 16:06:03.546  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='Upload Client File(s)']) 
 2022-10-10 16:06:04.013  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='qqfile']) 
 2022-10-10 16:06:14.681  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//button[contains(@special,'cancel')]) 
 2022-10-10 16:06:14.730  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//button[contains(@special,'cancel')]) 
 2022-10-10 16:06:15.373  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='file_management_line']//td[@class='o_data_cell o_field_cell o_list_number o_required_modifier'][1]) 
 2022-10-10 16:06:15.429  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='file_management_line']//td[@class='o_data_cell o_field_cell o_list_number o_required_modifier'][1]) 
 2022-10-10 16:06:15.647  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='cs_count']) 
 2022-10-10 16:06:15.712  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='cs_count']) 
 2022-10-10 16:06:15.770  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='cs_count']) 
 2022-10-10 16:06:15.908  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='main_bool']/input) 
 2022-10-10 16:06:15.971  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@name='main_bool']/input) 
 2022-10-10 16:06:16.074  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='Upload Client Reference File(s)']) 
 2022-10-10 16:06:17.070  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//input[@name='qqfile']) 
 2022-10-10 16:06:17.672  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@name='UploaderClose']) 
 2022-10-10 16:06:18.273  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@name='UploaderClose']) 
 2022-10-10 16:06:18.893  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@name='UploaderClose']) 
 2022-10-10 16:06:19.532  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@name='UploaderClose']) 
 2022-10-10 16:06:20.129  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@name='UploaderClose']) 
 2022-10-10 16:06:20.739  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@name='UploaderClose']) 
 2022-10-10 16:06:21.370  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@name='UploaderClose']) 
 2022-10-10 16:06:22.000  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@name='UploaderClose']) 
 2022-10-10 16:06:22.608  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@name='UploaderClose']) 
 2022-10-10 16:06:23.221  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@name='UploaderClose']) 
 2022-10-10 16:06:23.362  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@class='btn btn-primary']/span[normalize-space()='Save & Close']) 
 2022-10-10 16:06:23.413  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.xpath(//button[@class='btn btn-primary']/span[normalize-space()='Save & Close']) 
 2022-10-10 16:06:25.350  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='Save']) 
 2022-10-10 16:06:25.500  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='Save']) 
 2022-10-10 16:06:37.419  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='### ## User']) 
 2022-10-10 16:06:37.482  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='###### ## User']) 
 2022-10-10 16:07:29.818  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.xpath(//a[normalize-space()='#######']) 
 2022-10-10 16:07:30.442  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:07:30.495  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:07:30.597  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:07:30.708  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:07:30.734  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:07:30.780  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:07:30.839  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//button[normalize-space()='Log in']) 
 2022-10-10 16:07:42.615  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='##### d User']) 
 2022-10-10 16:07:42.687  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//span[text()='#### CS User']) 
 2022-10-10 16:07:42.963  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@class='dropdown-menu dropdown-menu-right show']//preceding::a[@data-menu='logout']) 
 2022-10-10 16:07:43.011  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//div[@class='dropdown-menu dropdown-menu-right show']//preceding::a[@data-menu='logout']) 
 2022-10-10 16:07:43.284  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:07:43.378  INFO 1 - [7878-exec-7] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:07:43.443  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.id(login) 
 2022-10-10 16:07:43.505  INFO 1 - [7878-exec-2] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:07:43.530  INFO 1 - [7878-exec-3] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:07:43.576  INFO 1 - [7878-exec-5] c.e.h.c.HealingController        : Save locator: By.id(password) 
 2022-10-10 16:07:43.632  INFO 1 - [7878-exec-1] c.e.h.c.HealingController        : Save locator: By.xpath(//button[normalize-space()='Log in']) 
 2022-10-10 16:07:44.736  INFO 1 - [878-exec-10] c.e.h.c.HealingController        : Save locator: By.xpath(//img[@title='#############']) 
 2022-10-10 16:07:44.804  INFO 1 - [7878-exec-4] c.e.h.c.HealingController        : Save locator: By.xpath(//img[@title='#############']) 
 2022-10-10 16:07:44.857  INFO 1 - [7878-exec-9] c.e.h.c.HealingController        : Save locator: By.xpath(//span[normalize-space()='dsds']) 
 2022-10-10 16:07:44.899  INFO 1 - [7878-exec-8] c.e.h.c.HealingController        : Save locator: By.xpath(//span[normalize-space()='File dsds']) 
 2022-10-10 16:07:45.001  INFO 1 - [7878-exec-6] c.e.h.c.HealingController        : Save locator: By.tagName(body)

Additional context

For security issue i can not upload anything from my local but i think the error is suffice for as of now.

Alex-Reif commented 2 years ago

Hi @rgupta95 , could you share logs from your console? Looks strange, hlm-backend is active and stored your locators.

Saravan004 commented 1 year ago

Hi @rgupta95 , When I am trying to run a test, this is the error I am getting

Exception in thread "main" java.io.UncheckedIOException: org.asynchttpclient.exception.RemotelyClosedException: Remotely closed at org.openqa.selenium.remote.http.netty.NettyHttpHandler.makeCall(NettyHttpHandler.java:73) at org.openqa.selenium.remote.http.AddSeleniumUserAgent.lambda$apply$0(AddSeleniumUserAgent.java:42) at org.openqa.selenium.remote.http.Filter.lambda$andFinally$1(Filter.java:55) at org.openqa.selenium.remote.http.netty.NettyHttpHandler.execute(NettyHttpHandler.java:48) at org.openqa.selenium.remote.http.AddSeleniumUserAgent.lambda$apply$0(AddSeleniumUserAgent.java:42) at org.openqa.selenium.remote.http.Filter.lambda$andFinally$1(Filter.java:55) at org.openqa.selenium.remote.http.netty.NettyClient.execute(NettyClient.java:97) at com.epam.healenium.client.RestClient.getElements(RestClient.java:134) at com.epam.healenium.SelfHealingEngine.loadStoredSelectors(SelfHealingEngine.java:173) at com.epam.healenium.SelfHealingDriver.callInitActions(SelfHealingDriver.java:65) at com.epam.healenium.SelfHealingDriver.create(SelfHealingDriver.java:42) at com.epam.healenium.tests.TestFirst.main(TestFirst.java:15) Caused by: org.asynchttpclient.exception.RemotelyClosedException: Remotely closed at org.asynchttpclient.exception.RemotelyClosedException.INSTANCE(Unknown Source)

Alex-Reif commented 1 month ago

Fixed at rev 3.5.4