Generated by TestNG with ReportNG at 22:16 PDT on Sunday 04 June 2023
root@8f5c98824654 / Java 17.0.6 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.505s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-06-04 22:30:32 |

2023-06-04 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:32 | ------------------------------------

2023-06-04 22:30:32 | [Mutex] waiting for: [configured:node:node-5df682e1-f00e-42a4-a59d-0699d4f99d68:node-794d82e1-8a8d-44a4-abcc-c31263f8e0f2]

2023-06-04 22:30:32 | [Mutex] received everything.

2023-06-04 22:30:32 | [Mutex] isItemNotified: configured:node:node-5df682e1-f00e-42a4-a59d-0699d4f99d68:node-794d82e1-8a8d-44a4-abcc-c31263f8e0f2 :: true

2023-06-04 22:30:33 | [Mutex] waiting for: [received:nodes:4f6d540e-cc49-4350-b925-7b754c517006:localhost]

2023-06-04 22:30:33 | [Mutex] received everything.

2023-06-04 22:30:33 | [Mutex] isItemNotified: received:node:4f6d540e-cc49-4350-b925-7b754c517006:localhost:node-5df682e1-f00e-42a4-a59d-0699d4f99d68:Node 5df682e1-f00e-42a4-a59d-0699d4f99d68 :: true

2023-06-04 22:30:33 | [Mutex] waiting for: [received:nodes:e96d9bf4-ec91-494a-9177-415aac2e5e0d:localhost]

2023-06-04 22:30:33 | [Mutex] waiting for: [received:nodes:e96d9bf4-ec91-494a-9177-415aac2e5e0d:localhost]

2023-06-04 22:30:33 | [Mutex] waiting for: [received:nodes:e96d9bf4-ec91-494a-9177-415aac2e5e0d:localhost]

2023-06-04 22:30:33 | [Mutex] received everything.

2023-06-04 22:30:33 | [Mutex] isItemNotified: received:node:e96d9bf4-ec91-494a-9177-415aac2e5e0d:localhost:node-5df682e1-f00e-42a4-a59d-0699d4f99d68:Node 5df682e1-f00e-42a4-a59d-0699d4f99d68 :: false

createNodes 1.422s
2023-06-04 22:30:29 |

2023-06-04 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:29 | ------------------------------------

2023-06-04 22:30:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5df682e1-f00e-42a4-a59d-0699d4f99d68</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5df682e1-f00e-42a4-a59d-0699d4f99d68</title></pubsub></data>

2023-06-04 22:30:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-06-04 22:30:31 | [Mutex] waiting for: [received:nodes:edaf58c7-bb15-46d1-a583-1f0db9d95dfd:localhost]

2023-06-04 22:30:31 | [Mutex] received everything.

2023-06-04 22:30:31 | [Mutex] isItemNotified: received:node:edaf58c7-bb15-46d1-a583-1f0db9d95dfd:localhost:node-5df682e1-f00e-42a4-a59d-0699d4f99d68:Node 5df682e1-f00e-42a4-a59d-0699d4f99d68 :: true

createSubnodes 1.038s
2023-06-04 22:30:31 |

2023-06-04 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:31 | ------------------------------------

2023-06-04 22:30:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-794d82e1-8a8d-44a4-abcc-c31263f8e0f2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 794d82e1-8a8d-44a4-abcc-c31263f8e0f2</title></pubsub></data>

2023-06-04 22:30:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-06-04 22:30:32 | [Mutex] waiting for: [received:nodes:0df33579-e95c-4e75-83a2-3487b7445a29:localhost]

2023-06-04 22:30:32 | [Mutex] waiting for: [received:nodes:0df33579-e95c-4e75-83a2-3487b7445a29:localhost]

2023-06-04 22:30:32 | [Mutex] waiting for: [received:nodes:0df33579-e95c-4e75-83a2-3487b7445a29:localhost]

2023-06-04 22:30:32 | [Mutex] received everything.

2023-06-04 22:30:32 | [Mutex] isItemNotified: received:node:0df33579-e95c-4e75-83a2-3487b7445a29:localhost:node-794d82e1-8a8d-44a4-abcc-c31263f8e0f2:Node 794d82e1-8a8d-44a4-abcc-c31263f8e0f2 :: true

deleteNodes 1.021s
2023-06-04 22:30:37 |

2023-06-04 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:37 | ------------------------------------

2023-06-04 22:30:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-794d82e1-8a8d-44a4-abcc-c31263f8e0f2</node></data>

2023-06-04 22:30:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-06-04 22:30:38 | [Mutex] waiting for: [received:nodes:788e617d-6c54-430f-a7e4-c1c56ae821f4:localhost]

2023-06-04 22:30:38 | [Mutex] waiting for: [received:nodes:788e617d-6c54-430f-a7e4-c1c56ae821f4:localhost]

2023-06-04 22:30:38 | [Mutex] waiting for: [received:nodes:788e617d-6c54-430f-a7e4-c1c56ae821f4:localhost]

2023-06-04 22:30:38 | [Mutex] received everything.

2023-06-04 22:30:38 | [Mutex] isItemNotified: received:node:788e617d-6c54-430f-a7e4-c1c56ae821f4:localhost:node-794d82e1-8a8d-44a4-abcc-c31263f8e0f2:Node 794d82e1-8a8d-44a4-abcc-c31263f8e0f2 :: false

deleteSubnodes 1.105s
2023-06-04 22:30:36 |

2023-06-04 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:36 | ------------------------------------

2023-06-04 22:30:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5df682e1-f00e-42a4-a59d-0699d4f99d68</node></data>

2023-06-04 22:30:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-06-04 22:30:37 | [Mutex] waiting for: [received:nodes:7e922be2-3495-4619-90d6-b3b7fc469c3c:localhost]

2023-06-04 22:30:37 | [Mutex] waiting for: [received:nodes:7e922be2-3495-4619-90d6-b3b7fc469c3c:localhost]

2023-06-04 22:30:37 | [Mutex] waiting for: [received:nodes:7e922be2-3495-4619-90d6-b3b7fc469c3c:localhost]

2023-06-04 22:30:37 | [Mutex] received everything.

2023-06-04 22:30:37 | [Mutex] isItemNotified: received:node:7e922be2-3495-4619-90d6-b3b7fc469c3c:localhost:node-5df682e1-f00e-42a4-a59d-0699d4f99d68:Node 5df682e1-f00e-42a4-a59d-0699d4f99d68 :: false

2023-06-04 22:30:37 | [Mutex] waiting for: [received:nodes:6d74e5eb-84af-49a2-a530-523d661ef19d:localhost]

2023-06-04 22:30:37 | [Mutex] received everything.

2023-06-04 22:30:37 | [Mutex] isItemNotified: received:node:6d74e5eb-84af-49a2-a530-523d661ef19d:localhost:node-5df682e1-f00e-42a4-a59d-0699d4f99d68:Node 5df682e1-f00e-42a4-a59d-0699d4f99d68 :: false

publishItemsToNodes 0.267s
2023-06-04 22:30:34 |

2023-06-04 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:34 | ------------------------------------

2023-06-04 22:30:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5df682e1-f00e-42a4-a59d-0699d4f99d68</node><item-id>item-d8548a00-72ae-4ac5-bf5a-2f21997cb850</item-id><entry><test>item-d8548a00-72ae-4ac5-bf5a-2f21997cb850</test></entry></data>

2023-06-04 22:30:34 | 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-d8548a00-72ae-4ac5-bf5a-2f21997cb850</value></item-id></result>

2023-06-04 22:30:34 | [Mutex] received everything.

2023-06-04 22:30:34 | [Mutex] isItemNotified: published:item:notifieditem-d8548a00-72ae-4ac5-bf5a-2f21997cb850:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2023-06-04 22:30:35 |

2023-06-04 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:35 | ------------------------------------

2023-06-04 22:30:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5df682e1-f00e-42a4-a59d-0699d4f99d68</node><item-id>item-d8548a00-72ae-4ac5-bf5a-2f21997cb850</item-id></data>

2023-06-04 22:30:35 | 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-d8548a00-72ae-4ac5-bf5a-2f21997cb850</value></item-id></result>

2023-06-04 22:30:35 | [Mutex] received everything.

2023-06-04 22:30:35 | [Mutex] isItemNotified: retracted:item:notifieditem-d8548a00-72ae-4ac5-bf5a-2f21997cb850:admin@test-domain.com :: true

retrieveItemsFromNodes 0.207s
2023-06-04 22:30:34 |

2023-06-04 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:34 | ------------------------------------

2023-06-04 22:30:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5df682e1-f00e-42a4-a59d-0699d4f99d68</node><item-id>item-d8548a00-72ae-4ac5-bf5a-2f21997cb850</item-id></data>

2023-06-04 22:30:35 | 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-5df682e1-f00e-42a4-a59d-0699d4f99d68</value></node><item-id label="Item ID" type="text-single"><value>item-d8548a00-72ae-4ac5-bf5a-2f21997cb850</value></item-id><item label="Item" type="text-multi"><value><item id="item-d8548a00-72ae-4ac5-bf5a-2f21997cb850"><test>item-d8548a00-72ae-4ac5-bf5a-2f21997cb850</test></item></value></item></result>

2023-06-04 22:30:35 | [Mutex] notify: [retrieved:item:item-d8548a00-72ae-4ac5-bf5a-2f21997cb850:payload-matches:true:localhost]

2023-06-04 22:30:35 | [Mutex] received everything.

2023-06-04 22:30:35 | [Mutex] isItemNotified: retrieved:item:item-d8548a00-72ae-4ac5-bf5a-2f21997cb850:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-06-04 22:30:35 |

2023-06-04 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:35 | ------------------------------------

2023-06-04 22:30:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-06-04 22:30:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-794d82e1-8a8d-44a4-abcc-c31263f8e0f2</value><value>test</value><value>node-5df682e1-f00e-42a4-a59d-0699d4f99d68</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-06-04 22:30:35 |

2023-06-04 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:35 | ------------------------------------

2023-06-04 22:30:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5df682e1-f00e-42a4-a59d-0699d4f99d68)</node-pattern></data>

2023-06-04 22:30:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.167s
2023-06-04 22:30:33 |

2023-06-04 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:33 | ------------------------------------

2023-06-04 22:30:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5df682e1-f00e-42a4-a59d-0699d4f99d68</node><jids><value>admin@test-domain.com</value></jids></data>

2023-06-04 22:30:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2023-06-04 22:30:35 |

2023-06-04 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-04 22:30:35 | ------------------------------------

2023-06-04 22:30:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5df682e1-f00e-42a4-a59d-0699d4f99d68</node><jids><value>admin@test-domain.com</value></jids></data>

2023-06-04 22:30:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>