Generated by TestNG with ReportNG at 22:35 PDT on Monday 05 September 2022
root@ed1b7dd8a1b3 / 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.487s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-09-05 22:50:13 |

2022-09-05 22:50:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:13 | ------------------------------------

2022-09-05 22:50:13 | [Mutex] waiting for: [configured:node:node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364:node-005d6eb6-1b20-4aae-8ebf-a4c8310500d4]

2022-09-05 22:50:13 | [Mutex] received everything.

2022-09-05 22:50:13 | [Mutex] isItemNotified: configured:node:node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364:node-005d6eb6-1b20-4aae-8ebf-a4c8310500d4 :: true

2022-09-05 22:50:14 | [Mutex] waiting for: [received:nodes:0d7b43cf-7342-4fd6-a7fb-74d058422c8f:localhost]

2022-09-05 22:50:14 | [Mutex] received everything.

2022-09-05 22:50:14 | [Mutex] isItemNotified: received:node:0d7b43cf-7342-4fd6-a7fb-74d058422c8f:localhost:node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364:Node 59e6d0b4-2f02-4f2d-b74d-8f38e6400364 :: true

2022-09-05 22:50:14 | [Mutex] waiting for: [received:nodes:eeec444b-00d4-4b9a-a056-c98e39901f9b:localhost]

2022-09-05 22:50:14 | [Mutex] received everything.

2022-09-05 22:50:14 | [Mutex] isItemNotified: received:node:eeec444b-00d4-4b9a-a056-c98e39901f9b:localhost:node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364:Node 59e6d0b4-2f02-4f2d-b74d-8f38e6400364 :: false

createNodes 1.419s
2022-09-05 22:50:10 |

2022-09-05 22:50:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:10 | ------------------------------------

2022-09-05 22:50:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 59e6d0b4-2f02-4f2d-b74d-8f38e6400364</title></pubsub></data>

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

2022-09-05 22:50:12 | [Mutex] waiting for: [received:nodes:2e55a29b-35f2-4e5b-86ca-07ecfec9c061:localhost]

2022-09-05 22:50:12 | [Mutex] waiting for: [received:nodes:2e55a29b-35f2-4e5b-86ca-07ecfec9c061:localhost]

2022-09-05 22:50:12 | [Mutex] received everything.

2022-09-05 22:50:12 | [Mutex] isItemNotified: received:node:2e55a29b-35f2-4e5b-86ca-07ecfec9c061:localhost:node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364:Node 59e6d0b4-2f02-4f2d-b74d-8f38e6400364 :: true

createSubnodes 1.025s
2022-09-05 22:50:12 |

2022-09-05 22:50:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:12 | ------------------------------------

2022-09-05 22:50:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-005d6eb6-1b20-4aae-8ebf-a4c8310500d4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 005d6eb6-1b20-4aae-8ebf-a4c8310500d4</title></pubsub></data>

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

2022-09-05 22:50:13 | [Mutex] waiting for: [received:nodes:87bdf268-434f-4b6f-ac49-403f29573000:localhost]

2022-09-05 22:50:13 | [Mutex] received everything.

2022-09-05 22:50:13 | [Mutex] isItemNotified: received:node:87bdf268-434f-4b6f-ac49-403f29573000:localhost:node-005d6eb6-1b20-4aae-8ebf-a4c8310500d4:Node 005d6eb6-1b20-4aae-8ebf-a4c8310500d4 :: true

deleteNodes 1.016s
2022-09-05 22:50:18 |

2022-09-05 22:50:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:18 | ------------------------------------

2022-09-05 22:50:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-005d6eb6-1b20-4aae-8ebf-a4c8310500d4</node></data>

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

2022-09-05 22:50:19 | [Mutex] waiting for: [received:nodes:61094416-ea33-44b6-b65b-8cbd5fba0bc0:localhost]

2022-09-05 22:50:19 | [Mutex] waiting for: [received:nodes:61094416-ea33-44b6-b65b-8cbd5fba0bc0:localhost]

2022-09-05 22:50:19 | [Mutex] received everything.

2022-09-05 22:50:19 | [Mutex] isItemNotified: received:node:61094416-ea33-44b6-b65b-8cbd5fba0bc0:localhost:node-005d6eb6-1b20-4aae-8ebf-a4c8310500d4:Node 005d6eb6-1b20-4aae-8ebf-a4c8310500d4 :: false

deleteSubnodes 1.148s
2022-09-05 22:50:17 |

2022-09-05 22:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:17 | ------------------------------------

2022-09-05 22:50:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364</node></data>

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

2022-09-05 22:50:18 | [Mutex] waiting for: [received:nodes:cb8563ff-fef1-412e-b30d-4dbb92e8d5bb:localhost]

2022-09-05 22:50:18 | [Mutex] received everything.

2022-09-05 22:50:18 | [Mutex] isItemNotified: received:node:cb8563ff-fef1-412e-b30d-4dbb92e8d5bb:localhost:node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364:Node 59e6d0b4-2f02-4f2d-b74d-8f38e6400364 :: false

2022-09-05 22:50:18 | [Mutex] waiting for: [received:nodes:ff55f27d-1a41-4614-a546-8bb53c9068d9:localhost]

2022-09-05 22:50:18 | [Mutex] received everything.

2022-09-05 22:50:18 | [Mutex] isItemNotified: received:node:ff55f27d-1a41-4614-a546-8bb53c9068d9:localhost:node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364:Node 59e6d0b4-2f02-4f2d-b74d-8f38e6400364 :: false

publishItemsToNodes 0.253s
2022-09-05 22:50:15 |

2022-09-05 22:50:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:15 | ------------------------------------

2022-09-05 22:50:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364</node><item-id>item-8e0b94e1-b873-4f17-9261-4e7b58dc216a</item-id><entry><test>item-8e0b94e1-b873-4f17-9261-4e7b58dc216a</test></entry></data>

2022-09-05 22:50:15 | 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-8e0b94e1-b873-4f17-9261-4e7b58dc216a</value></item-id></result>

2022-09-05 22:50:15 | [Mutex] received everything.

2022-09-05 22:50:15 | [Mutex] isItemNotified: published:item:notifieditem-8e0b94e1-b873-4f17-9261-4e7b58dc216a:admin@test-domain.com :: true

retractItemsFromNodes 0.210s
2022-09-05 22:50:16 |

2022-09-05 22:50:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:16 | ------------------------------------

2022-09-05 22:50:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364</node><item-id>item-8e0b94e1-b873-4f17-9261-4e7b58dc216a</item-id></data>

2022-09-05 22:50:16 | 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-8e0b94e1-b873-4f17-9261-4e7b58dc216a</value></item-id></result>

2022-09-05 22:50:16 | [Mutex] waiting for: [retracted:item:notifieditem-8e0b94e1-b873-4f17-9261-4e7b58dc216a:admin@test-domain.com]

2022-09-05 22:50:16 | [Mutex] received everything.

2022-09-05 22:50:16 | [Mutex] isItemNotified: retracted:item:notifieditem-8e0b94e1-b873-4f17-9261-4e7b58dc216a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2022-09-05 22:50:15 |

2022-09-05 22:50:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:15 | ------------------------------------

2022-09-05 22:50:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364</node><item-id>item-8e0b94e1-b873-4f17-9261-4e7b58dc216a</item-id></data>

2022-09-05 22:50:16 | 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-59e6d0b4-2f02-4f2d-b74d-8f38e6400364</value></node><item-id type="text-single" label="Item ID"><value>item-8e0b94e1-b873-4f17-9261-4e7b58dc216a</value></item-id><item type="text-multi" label="Item"><value><item id="item-8e0b94e1-b873-4f17-9261-4e7b58dc216a"><test>item-8e0b94e1-b873-4f17-9261-4e7b58dc216a</test></item></value></item></result>

2022-09-05 22:50:16 | [Mutex] notify: [retrieved:item:item-8e0b94e1-b873-4f17-9261-4e7b58dc216a:payload-matches:true:localhost]

2022-09-05 22:50:16 | [Mutex] received everything.

2022-09-05 22:50:16 | [Mutex] isItemNotified: retrieved:item:item-8e0b94e1-b873-4f17-9261-4e7b58dc216a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-09-05 22:50:16 |

2022-09-05 22:50:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:16 | ------------------------------------

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

2022-09-05 22:50:16 | 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-005d6eb6-1b20-4aae-8ebf-a4c8310500d4</value><value>node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-09-05 22:50:16 |

2022-09-05 22:50:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:16 | ------------------------------------

2022-09-05 22:50: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-59e6d0b4-2f02-4f2d-b74d-8f38e6400364)</node-pattern></data>

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

subscribeNodes 1.102s
2022-09-05 22:50:14 |

2022-09-05 22:50:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:14 | ------------------------------------

2022-09-05 22:50:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.260s
2022-09-05 22:50:16 |

2022-09-05 22:50:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:50:16 | ------------------------------------

2022-09-05 22:50:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-59e6d0b4-2f02-4f2d-b74d-8f38e6400364</node><jids><value>admin@test-domain.com</value></jids></data>

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