Generated by TestNG with ReportNG at 21:19 PST on Thursday 17 February 2022
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / 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 : 10.371s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2022-02-17 21:34:34 |

2022-02-17 21:34:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:34 | ------------------------------------

2022-02-17 21:34:34 | [Mutex] waiting for: [configured:node:node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f:node-0c11c8d9-3b1c-459f-8869-53dfec2bd9f9]

2022-02-17 21:34:34 | [Mutex] received everything.

2022-02-17 21:34:34 | [Mutex] isItemNotified: configured:node:node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f:node-0c11c8d9-3b1c-459f-8869-53dfec2bd9f9 :: true

2022-02-17 21:34:35 | [Mutex] waiting for: [received:nodes:fe3da42d-a3d9-4321-b695-dda0fb0c1b3c:localhost]

2022-02-17 21:34:35 | [Mutex] received everything.

2022-02-17 21:34:35 | [Mutex] isItemNotified: received:node:fe3da42d-a3d9-4321-b695-dda0fb0c1b3c:localhost:node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f:Node 6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f :: true

2022-02-17 21:34:35 | [Mutex] waiting for: [received:nodes:34229711-4b74-4433-befd-7a83e00685be:localhost]

2022-02-17 21:34:35 | [Mutex] received everything.

2022-02-17 21:34:35 | [Mutex] isItemNotified: received:node:34229711-4b74-4433-befd-7a83e00685be:localhost:node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f:Node 6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f :: false

createNodes 1.575s
2022-02-17 21:34:31 |

2022-02-17 21:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:31 | ------------------------------------

2022-02-17 21:34:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f</title></pubsub></data>

2022-02-17 21:34:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-17 21:34:32 | [Mutex] waiting for: [received:nodes:1d222167-0de9-46d0-839f-b8162bdb9464:localhost]

2022-02-17 21:34:33 | [Mutex] received everything.

2022-02-17 21:34:33 | [Mutex] isItemNotified: received:node:1d222167-0de9-46d0-839f-b8162bdb9464:localhost:node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f:Node 6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f :: true

createSubnodes 1.034s
2022-02-17 21:34:33 |

2022-02-17 21:34:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:33 | ------------------------------------

2022-02-17 21:34:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0c11c8d9-3b1c-459f-8869-53dfec2bd9f9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0c11c8d9-3b1c-459f-8869-53dfec2bd9f9</title></pubsub></data>

2022-02-17 21:34:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-17 21:34:34 | [Mutex] waiting for: [received:nodes:44ed5849-79be-47aa-a9ca-4a0a7f72b516:localhost]

2022-02-17 21:34:34 | [Mutex] received everything.

2022-02-17 21:34:34 | [Mutex] isItemNotified: received:node:44ed5849-79be-47aa-a9ca-4a0a7f72b516:localhost:node-0c11c8d9-3b1c-459f-8869-53dfec2bd9f9:Node 0c11c8d9-3b1c-459f-8869-53dfec2bd9f9 :: true

deleteNodes 1.020s
2022-02-17 21:34:39 |

2022-02-17 21:34:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:39 | ------------------------------------

2022-02-17 21:34:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0c11c8d9-3b1c-459f-8869-53dfec2bd9f9</node></data>

2022-02-17 21:34:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-17 21:34:40 | [Mutex] waiting for: [received:nodes:2ae5580c-0b43-4ddd-ae1d-0d9ac13e606f:localhost]

2022-02-17 21:34:40 | [Mutex] received everything.

2022-02-17 21:34:40 | [Mutex] isItemNotified: received:node:2ae5580c-0b43-4ddd-ae1d-0d9ac13e606f:localhost:node-0c11c8d9-3b1c-459f-8869-53dfec2bd9f9:Node 0c11c8d9-3b1c-459f-8869-53dfec2bd9f9 :: false

deleteSubnodes 1.193s
2022-02-17 21:34:38 |

2022-02-17 21:34:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:38 | ------------------------------------

2022-02-17 21:34:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f</node></data>

2022-02-17 21:34:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-17 21:34:39 | [Mutex] waiting for: [received:nodes:12c43713-df9c-4850-b60b-7bfcb0ef9529:localhost]

2022-02-17 21:34:39 | [Mutex] received everything.

2022-02-17 21:34:39 | [Mutex] isItemNotified: received:node:12c43713-df9c-4850-b60b-7bfcb0ef9529:localhost:node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f:Node 6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f :: false

2022-02-17 21:34:39 | [Mutex] waiting for: [received:nodes:73f32063-478d-495a-8714-cebacb820377:localhost]

2022-02-17 21:34:39 | [Mutex] received everything.

2022-02-17 21:34:39 | [Mutex] isItemNotified: received:node:73f32063-478d-495a-8714-cebacb820377:localhost:node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f:Node 6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f :: false

publishItemsToNodes 0.280s
2022-02-17 21:34:36 |

2022-02-17 21:34:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:36 | ------------------------------------

2022-02-17 21:34:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f</node><item-id>item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265</item-id><entry><test>item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265</test></entry></data>

2022-02-17 21:34:36 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265</value></item-id></result>

2022-02-17 21:34:36 | [Mutex] received everything.

2022-02-17 21:34:36 | [Mutex] isItemNotified: published:item:notifieditem-b1f35cb9-9eb2-435a-9d38-e6172ca8f265:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2022-02-17 21:34:37 |

2022-02-17 21:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:37 | ------------------------------------

2022-02-17 21:34:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f</node><item-id>item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265</item-id></data>

2022-02-17 21:34:37 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265</value></item-id></result>

2022-02-17 21:34:37 | [Mutex] received everything.

2022-02-17 21:34:37 | [Mutex] isItemNotified: retracted:item:notifieditem-b1f35cb9-9eb2-435a-9d38-e6172ca8f265:admin@test-domain.com :: true

retrieveItemsFromNodes 0.286s
2022-02-17 21:34:36 |

2022-02-17 21:34:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:36 | ------------------------------------

2022-02-17 21:34:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f</node><item-id>item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265</item-id></data>

2022-02-17 21:34:36 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f</value></node><item-id type="text-single" label="Item ID"><value>item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265</value></item-id><item type="text-multi" label="Item"><value><item id="item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265"><test>item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265</test></item></value></item></result>

2022-02-17 21:34:36 | [Mutex] notify: [retrieved:item:item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265:payload-matches:true:localhost]

2022-02-17 21:34:36 | [Mutex] received everything.

2022-02-17 21:34:36 | [Mutex] isItemNotified: retrieved:item:item-b1f35cb9-9eb2-435a-9d38-e6172ca8f265:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-17 21:34:36 |

2022-02-17 21:34:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:36 | ------------------------------------

2022-02-17 21:34:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-17 21:34:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f</value><value>node-0c11c8d9-3b1c-459f-8869-53dfec2bd9f9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2022-02-17 21:34:36 |

2022-02-17 21:34:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:36 | ------------------------------------

2022-02-17 21:34:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f)</node-pattern></data>

2022-02-17 21:34:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.184s
2022-02-17 21:34:35 |

2022-02-17 21:34:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:35 | ------------------------------------

2022-02-17 21:34:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-17 21:34:35 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.295s
2022-02-17 21:34:37 |

2022-02-17 21:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-17 21:34:37 | ------------------------------------

2022-02-17 21:34:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6eeb3670-6b9f-4e50-aa3e-6929d2c23f3f</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-17 21:34:37 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>