Generated by TestNG with ReportNG at 09:27 PDT on Tuesday 24 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.468s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.080s
2022-05-24 09:42:36 |

2022-05-24 09:42:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:36 | ------------------------------------

2022-05-24 09:42:37 | [Mutex] waiting for: [configured:node:node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01:node-6ca0ceea-b98d-42cb-a983-a59c87d877ee]

2022-05-24 09:42:37 | [Mutex] received everything.

2022-05-24 09:42:37 | [Mutex] isItemNotified: configured:node:node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01:node-6ca0ceea-b98d-42cb-a983-a59c87d877ee :: true

2022-05-24 09:42:38 | [Mutex] waiting for: [received:nodes:0543d7dd-032a-48e9-90ec-b98ab8ee296c:localhost]

2022-05-24 09:42:38 | [Mutex] received everything.

2022-05-24 09:42:38 | [Mutex] isItemNotified: received:node:0543d7dd-032a-48e9-90ec-b98ab8ee296c:localhost:node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01:Node 2d3f8200-bd58-4b4f-8605-0d0e71fd2d01 :: true

2022-05-24 09:42:38 | [Mutex] waiting for: [received:nodes:2fa69c91-66f1-4db7-8f3e-92e6d2302a3d:localhost]

2022-05-24 09:42:38 | [Mutex] waiting for: [received:nodes:2fa69c91-66f1-4db7-8f3e-92e6d2302a3d:localhost]

2022-05-24 09:42:38 | [Mutex] received everything.

2022-05-24 09:42:38 | [Mutex] isItemNotified: received:node:2fa69c91-66f1-4db7-8f3e-92e6d2302a3d:localhost:node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01:Node 2d3f8200-bd58-4b4f-8605-0d0e71fd2d01 :: false

createNodes 1.495s
2022-05-24 09:42:34 |

2022-05-24 09:42:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:34 | ------------------------------------

2022-05-24 09:42:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2d3f8200-bd58-4b4f-8605-0d0e71fd2d01</title></pubsub></data>

2022-05-24 09:42:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 09:42:35 | [Mutex] waiting for: [received:nodes:98f96279-9933-4682-96d0-3bd752cb2e18:localhost]

2022-05-24 09:42:35 | [Mutex] received everything.

2022-05-24 09:42:35 | [Mutex] isItemNotified: received:node:98f96279-9933-4682-96d0-3bd752cb2e18:localhost:node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01:Node 2d3f8200-bd58-4b4f-8605-0d0e71fd2d01 :: true

createSubnodes 1.022s
2022-05-24 09:42:35 |

2022-05-24 09:42:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:35 | ------------------------------------

2022-05-24 09:42:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6ca0ceea-b98d-42cb-a983-a59c87d877ee</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6ca0ceea-b98d-42cb-a983-a59c87d877ee</title></pubsub></data>

2022-05-24 09:42:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 09:42:36 | [Mutex] waiting for: [received:nodes:81952ca7-d2cc-45be-810e-d12e43ea3aa3:localhost]

2022-05-24 09:42:36 | [Mutex] waiting for: [received:nodes:81952ca7-d2cc-45be-810e-d12e43ea3aa3:localhost]

2022-05-24 09:42:36 | [Mutex] received everything.

2022-05-24 09:42:36 | [Mutex] isItemNotified: received:node:81952ca7-d2cc-45be-810e-d12e43ea3aa3:localhost:node-6ca0ceea-b98d-42cb-a983-a59c87d877ee:Node 6ca0ceea-b98d-42cb-a983-a59c87d877ee :: true

deleteNodes 1.017s
2022-05-24 09:42:42 |

2022-05-24 09:42:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:42 | ------------------------------------

2022-05-24 09:42:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6ca0ceea-b98d-42cb-a983-a59c87d877ee</node></data>

2022-05-24 09:42:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 09:42:43 | [Mutex] waiting for: [received:nodes:67bf8f34-dbcc-44e4-a569-a44219e79e37:localhost]

2022-05-24 09:42:43 | [Mutex] waiting for: [received:nodes:67bf8f34-dbcc-44e4-a569-a44219e79e37:localhost]

2022-05-24 09:42:43 | [Mutex] received everything.

2022-05-24 09:42:43 | [Mutex] isItemNotified: received:node:67bf8f34-dbcc-44e4-a569-a44219e79e37:localhost:node-6ca0ceea-b98d-42cb-a983-a59c87d877ee:Node 6ca0ceea-b98d-42cb-a983-a59c87d877ee :: false

deleteSubnodes 1.121s
2022-05-24 09:42:41 |

2022-05-24 09:42:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:41 | ------------------------------------

2022-05-24 09:42:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01</node></data>

2022-05-24 09:42:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 09:42:42 | [Mutex] waiting for: [received:nodes:198dfdbf-1b2d-4384-8027-4ae203b94da5:localhost]

2022-05-24 09:42:42 | [Mutex] waiting for: [received:nodes:198dfdbf-1b2d-4384-8027-4ae203b94da5:localhost]

2022-05-24 09:42:42 | [Mutex] received everything.

2022-05-24 09:42:42 | [Mutex] isItemNotified: received:node:198dfdbf-1b2d-4384-8027-4ae203b94da5:localhost:node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01:Node 2d3f8200-bd58-4b4f-8605-0d0e71fd2d01 :: false

2022-05-24 09:42:42 | [Mutex] waiting for: [received:nodes:aaddc9a5-0765-40eb-94fd-c94776e0a97b:localhost]

2022-05-24 09:42:42 | [Mutex] received everything.

2022-05-24 09:42:42 | [Mutex] isItemNotified: received:node:aaddc9a5-0765-40eb-94fd-c94776e0a97b:localhost:node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01:Node 2d3f8200-bd58-4b4f-8605-0d0e71fd2d01 :: false

publishItemsToNodes 0.197s
2022-05-24 09:42:39 |

2022-05-24 09:42:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:39 | ------------------------------------

2022-05-24 09:42:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01</node><item-id>item-bc5dba5f-ee7e-4e13-aa41-05430d285d87</item-id><entry><test>item-bc5dba5f-ee7e-4e13-aa41-05430d285d87</test></entry></data>

2022-05-24 09:42:39 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-bc5dba5f-ee7e-4e13-aa41-05430d285d87</value></item-id></result>

2022-05-24 09:42:39 | [Mutex] waiting for: [published:item:notifieditem-bc5dba5f-ee7e-4e13-aa41-05430d285d87:admin@test-domain.com]

2022-05-24 09:42:39 | [Mutex] received everything.

2022-05-24 09:42:39 | [Mutex] isItemNotified: published:item:notifieditem-bc5dba5f-ee7e-4e13-aa41-05430d285d87:admin@test-domain.com :: true

retractItemsFromNodes 0.312s
2022-05-24 09:42:39 |

2022-05-24 09:42:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:39 | ------------------------------------

2022-05-24 09:42:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01</node><item-id>item-bc5dba5f-ee7e-4e13-aa41-05430d285d87</item-id></data>

2022-05-24 09:42:40 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-bc5dba5f-ee7e-4e13-aa41-05430d285d87</value></item-id></result>

2022-05-24 09:42:40 | [Mutex] waiting for: [retracted:item:notifieditem-bc5dba5f-ee7e-4e13-aa41-05430d285d87:admin@test-domain.com]

2022-05-24 09:42:40 | [Mutex] received everything.

2022-05-24 09:42:40 | [Mutex] isItemNotified: retracted:item:notifieditem-bc5dba5f-ee7e-4e13-aa41-05430d285d87:admin@test-domain.com :: true

retrieveItemsFromNodes 0.175s
2022-05-24 09:42:39 |

2022-05-24 09:42:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:39 | ------------------------------------

2022-05-24 09:42:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01</node><item-id>item-bc5dba5f-ee7e-4e13-aa41-05430d285d87</item-id></data>

2022-05-24 09:42:39 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01</value></node><item-id label="Item ID" type="text-single"><value>item-bc5dba5f-ee7e-4e13-aa41-05430d285d87</value></item-id><item label="Item" type="text-multi"><value><item id="item-bc5dba5f-ee7e-4e13-aa41-05430d285d87"><test>item-bc5dba5f-ee7e-4e13-aa41-05430d285d87</test></item></value></item></result>

2022-05-24 09:42:39 | [Mutex] notify: [retrieved:item:item-bc5dba5f-ee7e-4e13-aa41-05430d285d87:payload-matches:true:localhost]

2022-05-24 09:42:39 | [Mutex] received everything.

2022-05-24 09:42:39 | [Mutex] isItemNotified: retrieved:item:item-bc5dba5f-ee7e-4e13-aa41-05430d285d87:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-24 09:42:39 |

2022-05-24 09:42:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:39 | ------------------------------------

2022-05-24 09:42:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-24 09:42:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01</value><value>test</value><value>node-6ca0ceea-b98d-42cb-a983-a59c87d877ee</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-24 09:42:39 |

2022-05-24 09:42:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:39 | ------------------------------------

2022-05-24 09:42:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01)</node-pattern></data>

2022-05-24 09:42:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.170s
2022-05-24 09:42:38 |

2022-05-24 09:42:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:38 | ------------------------------------

2022-05-24 09:42:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-24 09:42:38 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.187s
2022-05-24 09:42:40 |

2022-05-24 09:42:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 09:42:40 | ------------------------------------

2022-05-24 09:42:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2d3f8200-bd58-4b4f-8605-0d0e71fd2d01</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-24 09:42:40 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>