Generated by TestNG with ReportNG at 22:47 PDT on Wednesday 06 July 2022
root@f9c07ffec79b / Java 17.0.2 (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.466s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2022-07-06 23:01:13 |

2022-07-06 23:01:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:13 | ------------------------------------

2022-07-06 23:01:13 | [Mutex] waiting for: [configured:node:node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697:node-16bf9b24-6ce7-4c31-a1c9-b1754f78bd00]

2022-07-06 23:01:13 | [Mutex] received everything.

2022-07-06 23:01:13 | [Mutex] isItemNotified: configured:node:node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697:node-16bf9b24-6ce7-4c31-a1c9-b1754f78bd00 :: true

2022-07-06 23:01:14 | [Mutex] waiting for: [received:nodes:f2e2cd71-298c-4d69-b318-a5078e2186e6:localhost]

2022-07-06 23:01:14 | [Mutex] received everything.

2022-07-06 23:01:14 | [Mutex] isItemNotified: received:node:f2e2cd71-298c-4d69-b318-a5078e2186e6:localhost:node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697:Node bd4712d1-13e8-4bc9-a8b2-2a1ae8966697 :: true

2022-07-06 23:01:14 | [Mutex] waiting for: [received:nodes:df410690-9922-4170-ba0c-d666e11cc0eb:localhost]

2022-07-06 23:01:14 | [Mutex] waiting for: [received:nodes:df410690-9922-4170-ba0c-d666e11cc0eb:localhost]

2022-07-06 23:01:14 | [Mutex] waiting for: [received:nodes:df410690-9922-4170-ba0c-d666e11cc0eb:localhost]

2022-07-06 23:01:14 | [Mutex] waiting for: [received:nodes:df410690-9922-4170-ba0c-d666e11cc0eb:localhost]

2022-07-06 23:01:14 | [Mutex] received everything.

2022-07-06 23:01:14 | [Mutex] isItemNotified: received:node:df410690-9922-4170-ba0c-d666e11cc0eb:localhost:node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697:Node bd4712d1-13e8-4bc9-a8b2-2a1ae8966697 :: false

createNodes 1.441s
2022-07-06 23:01:11 |

2022-07-06 23:01:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:11 | ------------------------------------

2022-07-06 23:01:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bd4712d1-13e8-4bc9-a8b2-2a1ae8966697</title></pubsub></data>

2022-07-06 23:01:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-06 23:01:12 | [Mutex] waiting for: [received:nodes:9359a85a-eb74-4b1e-9c01-ea746ed86201:localhost]

2022-07-06 23:01:12 | [Mutex] waiting for: [received:nodes:9359a85a-eb74-4b1e-9c01-ea746ed86201:localhost]

2022-07-06 23:01:12 | [Mutex] received everything.

2022-07-06 23:01:12 | [Mutex] isItemNotified: received:node:9359a85a-eb74-4b1e-9c01-ea746ed86201:localhost:node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697:Node bd4712d1-13e8-4bc9-a8b2-2a1ae8966697 :: true

createSubnodes 1.023s
2022-07-06 23:01:12 |

2022-07-06 23:01:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:12 | ------------------------------------

2022-07-06 23:01:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-16bf9b24-6ce7-4c31-a1c9-b1754f78bd00</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 16bf9b24-6ce7-4c31-a1c9-b1754f78bd00</title></pubsub></data>

2022-07-06 23:01:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-06 23:01:13 | [Mutex] waiting for: [received:nodes:f57f66e6-f895-4c8c-b00d-6d12600772dc:localhost]

2022-07-06 23:01:13 | [Mutex] waiting for: [received:nodes:f57f66e6-f895-4c8c-b00d-6d12600772dc:localhost]

2022-07-06 23:01:13 | [Mutex] waiting for: [received:nodes:f57f66e6-f895-4c8c-b00d-6d12600772dc:localhost]

2022-07-06 23:01:13 | [Mutex] waiting for: [received:nodes:f57f66e6-f895-4c8c-b00d-6d12600772dc:localhost]

2022-07-06 23:01:13 | [Mutex] received everything.

2022-07-06 23:01:13 | [Mutex] isItemNotified: received:node:f57f66e6-f895-4c8c-b00d-6d12600772dc:localhost:node-16bf9b24-6ce7-4c31-a1c9-b1754f78bd00:Node 16bf9b24-6ce7-4c31-a1c9-b1754f78bd00 :: true

deleteNodes 1.016s
2022-07-06 23:01:19 |

2022-07-06 23:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:19 | ------------------------------------

2022-07-06 23:01:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-16bf9b24-6ce7-4c31-a1c9-b1754f78bd00</node></data>

2022-07-06 23:01:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-06 23:01:20 | [Mutex] waiting for: [received:nodes:4986f802-1a41-4385-86d2-6f33a800da1c:localhost]

2022-07-06 23:01:20 | [Mutex] waiting for: [received:nodes:4986f802-1a41-4385-86d2-6f33a800da1c:localhost]

2022-07-06 23:01:20 | [Mutex] received everything.

2022-07-06 23:01:20 | [Mutex] isItemNotified: received:node:4986f802-1a41-4385-86d2-6f33a800da1c:localhost:node-16bf9b24-6ce7-4c31-a1c9-b1754f78bd00:Node 16bf9b24-6ce7-4c31-a1c9-b1754f78bd00 :: false

deleteSubnodes 1.112s
2022-07-06 23:01:18 |

2022-07-06 23:01:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:18 | ------------------------------------

2022-07-06 23:01:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697</node></data>

2022-07-06 23:01:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-06 23:01:19 | [Mutex] waiting for: [received:nodes:ce91fb4f-077e-4e71-b015-53b779460bdc:localhost]

2022-07-06 23:01:19 | [Mutex] received everything.

2022-07-06 23:01:19 | [Mutex] isItemNotified: received:node:ce91fb4f-077e-4e71-b015-53b779460bdc:localhost:node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697:Node bd4712d1-13e8-4bc9-a8b2-2a1ae8966697 :: false

2022-07-06 23:01:19 | [Mutex] waiting for: [received:nodes:564f956d-18d9-4e70-bf1c-6738f93e33a5:localhost]

2022-07-06 23:01:19 | [Mutex] received everything.

2022-07-06 23:01:19 | [Mutex] isItemNotified: received:node:564f956d-18d9-4e70-bf1c-6738f93e33a5:localhost:node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697:Node bd4712d1-13e8-4bc9-a8b2-2a1ae8966697 :: false

publishItemsToNodes 0.191s
2022-07-06 23:01:16 |

2022-07-06 23:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:16 | ------------------------------------

2022-07-06 23:01:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697</node><item-id>item-ba7fb440-f4f4-4c93-9ed9-69fc41937f04</item-id><entry><test>item-ba7fb440-f4f4-4c93-9ed9-69fc41937f04</test></entry></data>

2022-07-06 23:01:16 | 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-ba7fb440-f4f4-4c93-9ed9-69fc41937f04</value></item-id></result>

2022-07-06 23:01:16 | [Mutex] received everything.

2022-07-06 23:01:16 | [Mutex] isItemNotified: published:item:notifieditem-ba7fb440-f4f4-4c93-9ed9-69fc41937f04:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2022-07-06 23:01:16 |

2022-07-06 23:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:16 | ------------------------------------

2022-07-06 23:01:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697</node><item-id>item-ba7fb440-f4f4-4c93-9ed9-69fc41937f04</item-id></data>

2022-07-06 23:01:16 | 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-ba7fb440-f4f4-4c93-9ed9-69fc41937f04</value></item-id></result>

2022-07-06 23:01:16 | [Mutex] received everything.

2022-07-06 23:01:16 | [Mutex] isItemNotified: retracted:item:notifieditem-ba7fb440-f4f4-4c93-9ed9-69fc41937f04:admin@test-domain.com :: true

retrieveItemsFromNodes 0.192s
2022-07-06 23:01:16 |

2022-07-06 23:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:16 | ------------------------------------

2022-07-06 23:01:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697</node><item-id>item-ba7fb440-f4f4-4c93-9ed9-69fc41937f04</item-id></data>

2022-07-06 23:01:16 | 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-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697</value></node><item-id label="Item ID" type="text-single"><value>item-ba7fb440-f4f4-4c93-9ed9-69fc41937f04</value></item-id><item label="Item" type="text-multi"><value><item id="item-ba7fb440-f4f4-4c93-9ed9-69fc41937f04"><test>item-ba7fb440-f4f4-4c93-9ed9-69fc41937f04</test></item></value></item></result>

2022-07-06 23:01:16 | [Mutex] notify: [retrieved:item:item-ba7fb440-f4f4-4c93-9ed9-69fc41937f04:payload-matches:true:localhost]

2022-07-06 23:01:16 | [Mutex] received everything.

2022-07-06 23:01:16 | [Mutex] isItemNotified: retrieved:item:item-ba7fb440-f4f4-4c93-9ed9-69fc41937f04:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-07-06 23:01:16 |

2022-07-06 23:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:16 | ------------------------------------

2022-07-06 23:01:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-06 23:01:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697</value><value>test</value><value>node-16bf9b24-6ce7-4c31-a1c9-b1754f78bd00</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-06 23:01:16 |

2022-07-06 23:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:16 | ------------------------------------

2022-07-06 23:01:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697)</node-pattern></data>

2022-07-06 23:01:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.169s
2022-07-06 23:01:14 |

2022-07-06 23:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:14 | ------------------------------------

2022-07-06 23:01:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-06 23:01:15 | 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
2022-07-06 23:01:16 |

2022-07-06 23:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-06 23:01:16 | ------------------------------------

2022-07-06 23:01:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bd4712d1-13e8-4bc9-a8b2-2a1ae8966697</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-06 23:01:17 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>