Generated by TestNG with ReportNG at 22:22 PDT on Wednesday 27 April 2022
root@61c39d2ed70d / 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.627s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2022-04-27 22:36:44 |

2022-04-27 22:36:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:44 | ------------------------------------

2022-04-27 22:36:44 | [Mutex] waiting for: [configured:node:node-1250a923-1911-4f56-a2d2-5cfa0e4b5878:node-8678e0b9-7a8b-4ab6-b08f-c41fb75fead0]

2022-04-27 22:36:44 | [Mutex] received everything.

2022-04-27 22:36:44 | [Mutex] isItemNotified: configured:node:node-1250a923-1911-4f56-a2d2-5cfa0e4b5878:node-8678e0b9-7a8b-4ab6-b08f-c41fb75fead0 :: true

2022-04-27 22:36:45 | [Mutex] waiting for: [received:nodes:60809ac8-9291-4ca2-aaa4-d4c16baaf03d:localhost]

2022-04-27 22:36:45 | [Mutex] received everything.

2022-04-27 22:36:45 | [Mutex] isItemNotified: received:node:60809ac8-9291-4ca2-aaa4-d4c16baaf03d:localhost:node-1250a923-1911-4f56-a2d2-5cfa0e4b5878:Node 1250a923-1911-4f56-a2d2-5cfa0e4b5878 :: true

2022-04-27 22:36:45 | [Mutex] waiting for: [received:nodes:2da10801-f7e0-4245-af3e-f1ff7fdc5529:localhost]

2022-04-27 22:36:45 | [Mutex] received everything.

2022-04-27 22:36:45 | [Mutex] isItemNotified: received:node:2da10801-f7e0-4245-af3e-f1ff7fdc5529:localhost:node-1250a923-1911-4f56-a2d2-5cfa0e4b5878:Node 1250a923-1911-4f56-a2d2-5cfa0e4b5878 :: false

createNodes 1.431s
2022-04-27 22:36:42 |

2022-04-27 22:36:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:42 | ------------------------------------

2022-04-27 22:36:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1250a923-1911-4f56-a2d2-5cfa0e4b5878</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1250a923-1911-4f56-a2d2-5cfa0e4b5878</title></pubsub></data>

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

2022-04-27 22:36:43 | [Mutex] waiting for: [received:nodes:bac01f42-8eea-49b0-ba7e-bdebf19abd53:localhost]

2022-04-27 22:36:43 | [Mutex] waiting for: [received:nodes:bac01f42-8eea-49b0-ba7e-bdebf19abd53:localhost]

2022-04-27 22:36:43 | [Mutex] waiting for: [received:nodes:bac01f42-8eea-49b0-ba7e-bdebf19abd53:localhost]

2022-04-27 22:36:43 | [Mutex] received everything.

2022-04-27 22:36:43 | [Mutex] isItemNotified: received:node:bac01f42-8eea-49b0-ba7e-bdebf19abd53:localhost:node-1250a923-1911-4f56-a2d2-5cfa0e4b5878:Node 1250a923-1911-4f56-a2d2-5cfa0e4b5878 :: true

createSubnodes 1.023s
2022-04-27 22:36:43 |

2022-04-27 22:36:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:43 | ------------------------------------

2022-04-27 22:36:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8678e0b9-7a8b-4ab6-b08f-c41fb75fead0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8678e0b9-7a8b-4ab6-b08f-c41fb75fead0</title></pubsub></data>

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

2022-04-27 22:36:44 | [Mutex] waiting for: [received:nodes:3dbde063-b70b-493a-b9d8-33f08ddd5ca6:localhost]

2022-04-27 22:36:44 | [Mutex] waiting for: [received:nodes:3dbde063-b70b-493a-b9d8-33f08ddd5ca6:localhost]

2022-04-27 22:36:44 | [Mutex] received everything.

2022-04-27 22:36:44 | [Mutex] isItemNotified: received:node:3dbde063-b70b-493a-b9d8-33f08ddd5ca6:localhost:node-8678e0b9-7a8b-4ab6-b08f-c41fb75fead0:Node 8678e0b9-7a8b-4ab6-b08f-c41fb75fead0 :: true

deleteNodes 1.017s
2022-04-27 22:36:50 |

2022-04-27 22:36:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:50 | ------------------------------------

2022-04-27 22:36:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8678e0b9-7a8b-4ab6-b08f-c41fb75fead0</node></data>

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

2022-04-27 22:36:51 | [Mutex] waiting for: [received:nodes:51b344f1-b0b5-4434-9ff3-a40822685f11:localhost]

2022-04-27 22:36:51 | [Mutex] received everything.

2022-04-27 22:36:51 | [Mutex] isItemNotified: received:node:51b344f1-b0b5-4434-9ff3-a40822685f11:localhost:node-8678e0b9-7a8b-4ab6-b08f-c41fb75fead0:Node 8678e0b9-7a8b-4ab6-b08f-c41fb75fead0 :: false

deleteSubnodes 1.135s
2022-04-27 22:36:48 |

2022-04-27 22:36:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:48 | ------------------------------------

2022-04-27 22:36:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1250a923-1911-4f56-a2d2-5cfa0e4b5878</node></data>

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

2022-04-27 22:36:50 | [Mutex] waiting for: [received:nodes:23a0e730-7953-452e-bd72-dede6f4c9ba1:localhost]

2022-04-27 22:36:50 | [Mutex] received everything.

2022-04-27 22:36:50 | [Mutex] isItemNotified: received:node:23a0e730-7953-452e-bd72-dede6f4c9ba1:localhost:node-1250a923-1911-4f56-a2d2-5cfa0e4b5878:Node 1250a923-1911-4f56-a2d2-5cfa0e4b5878 :: false

2022-04-27 22:36:50 | [Mutex] waiting for: [received:nodes:53cb4793-fbbe-4f30-84c9-833d9259c37b:localhost]

2022-04-27 22:36:50 | [Mutex] received everything.

2022-04-27 22:36:50 | [Mutex] isItemNotified: received:node:53cb4793-fbbe-4f30-84c9-833d9259c37b:localhost:node-1250a923-1911-4f56-a2d2-5cfa0e4b5878:Node 1250a923-1911-4f56-a2d2-5cfa0e4b5878 :: false

publishItemsToNodes 0.292s
2022-04-27 22:36:46 |

2022-04-27 22:36:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:46 | ------------------------------------

2022-04-27 22:36:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1250a923-1911-4f56-a2d2-5cfa0e4b5878</node><item-id>item-ba6bca10-a8d3-4aa0-a57e-447a28070040</item-id><entry><test>item-ba6bca10-a8d3-4aa0-a57e-447a28070040</test></entry></data>

2022-04-27 22:36:47 | 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-ba6bca10-a8d3-4aa0-a57e-447a28070040</value></item-id></result>

2022-04-27 22:36:47 | [Mutex] waiting for: [published:item:notifieditem-ba6bca10-a8d3-4aa0-a57e-447a28070040:admin@test-domain.com]

2022-04-27 22:36:47 | [Mutex] received everything.

2022-04-27 22:36:47 | [Mutex] isItemNotified: published:item:notifieditem-ba6bca10-a8d3-4aa0-a57e-447a28070040:admin@test-domain.com :: true

retractItemsFromNodes 0.286s
2022-04-27 22:36:47 |

2022-04-27 22:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:47 | ------------------------------------

2022-04-27 22:36:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1250a923-1911-4f56-a2d2-5cfa0e4b5878</node><item-id>item-ba6bca10-a8d3-4aa0-a57e-447a28070040</item-id></data>

2022-04-27 22:36:47 | 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-ba6bca10-a8d3-4aa0-a57e-447a28070040</value></item-id></result>

2022-04-27 22:36:47 | [Mutex] waiting for: [retracted:item:notifieditem-ba6bca10-a8d3-4aa0-a57e-447a28070040:admin@test-domain.com]

2022-04-27 22:36:47 | [Mutex] received everything.

2022-04-27 22:36:47 | [Mutex] isItemNotified: retracted:item:notifieditem-ba6bca10-a8d3-4aa0-a57e-447a28070040:admin@test-domain.com :: true

retrieveItemsFromNodes 0.235s
2022-04-27 22:36:47 |

2022-04-27 22:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:47 | ------------------------------------

2022-04-27 22:36:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1250a923-1911-4f56-a2d2-5cfa0e4b5878</node><item-id>item-ba6bca10-a8d3-4aa0-a57e-447a28070040</item-id></data>

2022-04-27 22:36:47 | 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-1250a923-1911-4f56-a2d2-5cfa0e4b5878</value></node><item-id label="Item ID" type="text-single"><value>item-ba6bca10-a8d3-4aa0-a57e-447a28070040</value></item-id><item label="Item" type="text-multi"><value><item id="item-ba6bca10-a8d3-4aa0-a57e-447a28070040"><test>item-ba6bca10-a8d3-4aa0-a57e-447a28070040</test></item></value></item></result>

2022-04-27 22:36:47 | [Mutex] notify: [retrieved:item:item-ba6bca10-a8d3-4aa0-a57e-447a28070040:payload-matches:true:localhost]

2022-04-27 22:36:47 | [Mutex] received everything.

2022-04-27 22:36:47 | [Mutex] isItemNotified: retrieved:item:item-ba6bca10-a8d3-4aa0-a57e-447a28070040:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-04-27 22:36:47 |

2022-04-27 22:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:47 | ------------------------------------

2022-04-27 22:36:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-04-27 22:36:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-8678e0b9-7a8b-4ab6-b08f-c41fb75fead0</value><value>node-1250a923-1911-4f56-a2d2-5cfa0e4b5878</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-04-27 22:36:47 |

2022-04-27 22:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:47 | ------------------------------------

2022-04-27 22:36:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1250a923-1911-4f56-a2d2-5cfa0e4b5878)</node-pattern></data>

2022-04-27 22:36:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.148s
2022-04-27 22:36:45 |

2022-04-27 22:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:45 | ------------------------------------

2022-04-27 22:36:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1250a923-1911-4f56-a2d2-5cfa0e4b5878</node><jids><value>admin@test-domain.com</value></jids></data>

2022-04-27 22:36:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.132s
2022-04-27 22:36:47 |

2022-04-27 22:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-27 22:36:47 | ------------------------------------

2022-04-27 22:36:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1250a923-1911-4f56-a2d2-5cfa0e4b5878</node><jids><value>admin@test-domain.com</value></jids></data>

2022-04-27 22:36:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>