Generated by TestNG with ReportNG at 22:26 PDT on Wednesday 21 October 2020
root@43fec6d4badf / 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.280s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.137s
2020-10-21 22:43:38 |

2020-10-21 22:43:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:38 | ------------------------------------

2020-10-21 22:43:38 | [Mutex] waiting for: [configured:node:node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3:node-db662892-1041-4bb0-8f9d-5197648a011b]

2020-10-21 22:43:38 | [Mutex] received everything.

2020-10-21 22:43:38 | [Mutex] isItemNotified: configured:node:node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3:node-db662892-1041-4bb0-8f9d-5197648a011b :: true

2020-10-21 22:43:39 | [Mutex] waiting for: [received:nodes:470b2267-d6cf-4e4e-9a66-69667fa20a50:localhost]

2020-10-21 22:43:39 | [Mutex] received everything.

2020-10-21 22:43:39 | [Mutex] isItemNotified: received:node:470b2267-d6cf-4e4e-9a66-69667fa20a50:localhost:node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3:Node 0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3 :: true

2020-10-21 22:43:39 | [Mutex] waiting for: [received:nodes:7c3861a6-b554-432b-a717-d87e5aed62d6:localhost]

2020-10-21 22:43:39 | [Mutex] waiting for: [received:nodes:7c3861a6-b554-432b-a717-d87e5aed62d6:localhost]

2020-10-21 22:43:39 | [Mutex] received everything.

2020-10-21 22:43:39 | [Mutex] isItemNotified: received:node:7c3861a6-b554-432b-a717-d87e5aed62d6:localhost:node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3:Node 0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3 :: false

createNodes 1.604s
2020-10-21 22:43:35 |

2020-10-21 22:43:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:35 | ------------------------------------

2020-10-21 22:43:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3</title></pubsub></data>

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

2020-10-21 22:43:37 | [Mutex] waiting for: [received:nodes:13baac0d-9b6d-43cd-85a8-572c0d19641b:localhost]

2020-10-21 22:43:37 | [Mutex] received everything.

2020-10-21 22:43:37 | [Mutex] isItemNotified: received:node:13baac0d-9b6d-43cd-85a8-572c0d19641b:localhost:node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3:Node 0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3 :: true

createSubnodes 1.030s
2020-10-21 22:43:37 |

2020-10-21 22:43:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:37 | ------------------------------------

2020-10-21 22:43:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-db662892-1041-4bb0-8f9d-5197648a011b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node db662892-1041-4bb0-8f9d-5197648a011b</title></pubsub></data>

2020-10-21 22:43:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-21 22:43:38 | [Mutex] waiting for: [received:nodes:c16dd0ba-26c5-48eb-8192-ef9a6edadb6a:localhost]

2020-10-21 22:43:38 | [Mutex] received everything.

2020-10-21 22:43:38 | [Mutex] isItemNotified: received:node:c16dd0ba-26c5-48eb-8192-ef9a6edadb6a:localhost:node-db662892-1041-4bb0-8f9d-5197648a011b:Node db662892-1041-4bb0-8f9d-5197648a011b :: true

deleteNodes 1.021s
2020-10-21 22:43:44 |

2020-10-21 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:44 | ------------------------------------

2020-10-21 22:43:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-db662892-1041-4bb0-8f9d-5197648a011b</node></data>

2020-10-21 22:43:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-21 22:43:45 | [Mutex] waiting for: [received:nodes:1172d55b-8a08-40ac-ac88-20a071c9daa7:localhost]

2020-10-21 22:43:45 | [Mutex] received everything.

2020-10-21 22:43:45 | [Mutex] isItemNotified: received:node:1172d55b-8a08-40ac-ac88-20a071c9daa7:localhost:node-db662892-1041-4bb0-8f9d-5197648a011b:Node db662892-1041-4bb0-8f9d-5197648a011b :: false

deleteSubnodes 1.125s
2020-10-21 22:43:43 |

2020-10-21 22:43:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:43 | ------------------------------------

2020-10-21 22:43:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3</node></data>

2020-10-21 22:43:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-21 22:43:44 | [Mutex] waiting for: [received:nodes:fd8893e2-7b19-488e-97a6-475cb450e3c5:localhost]

2020-10-21 22:43:44 | [Mutex] waiting for: [received:nodes:fd8893e2-7b19-488e-97a6-475cb450e3c5:localhost]

2020-10-21 22:43:44 | [Mutex] received everything.

2020-10-21 22:43:44 | [Mutex] isItemNotified: received:node:fd8893e2-7b19-488e-97a6-475cb450e3c5:localhost:node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3:Node 0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3 :: false

2020-10-21 22:43:44 | [Mutex] waiting for: [received:nodes:e425e879-79d5-4ebd-857c-4da605040278:localhost]

2020-10-21 22:43:44 | [Mutex] received everything.

2020-10-21 22:43:44 | [Mutex] isItemNotified: received:node:e425e879-79d5-4ebd-857c-4da605040278:localhost:node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3:Node 0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3 :: false

publishItemsToNodes 0.242s
2020-10-21 22:43:40 |

2020-10-21 22:43:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:40 | ------------------------------------

2020-10-21 22:43:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3</node><item-id>item-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d</item-id><entry><test>item-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d</test></entry></data>

2020-10-21 22:43:41 | 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-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d</value></item-id></result>

2020-10-21 22:43:41 | [Mutex] waiting for: [published:item:notifieditem-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d:admin@test-domain.com]

2020-10-21 22:43:41 | [Mutex] received everything.

2020-10-21 22:43:41 | [Mutex] isItemNotified: published:item:notifieditem-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d:admin@test-domain.com :: true

retractItemsFromNodes 0.277s
2020-10-21 22:43:41 |

2020-10-21 22:43:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:41 | ------------------------------------

2020-10-21 22:43:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3</node><item-id>item-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d</item-id></data>

2020-10-21 22:43:41 | 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-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d</value></item-id></result>

2020-10-21 22:43:41 | [Mutex] received everything.

2020-10-21 22:43:41 | [Mutex] isItemNotified: retracted:item:notifieditem-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.271s
2020-10-21 22:43:41 |

2020-10-21 22:43:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:41 | ------------------------------------

2020-10-21 22:43:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3</node><item-id>item-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d</item-id></data>

2020-10-21 22:43:41 | 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-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3</value></node><item-id label="Item ID" type="text-single"><value>item-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d</value></item-id><item label="Item" type="text-multi"><value><item id="item-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d"><test>item-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d</test></item></value></item></result>

2020-10-21 22:43:41 | [Mutex] notify: [retrieved:item:item-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d:payload-matches:true:localhost]

2020-10-21 22:43:41 | [Mutex] received everything.

2020-10-21 22:43:41 | [Mutex] isItemNotified: retrieved:item:item-a328c51e-d1c7-4b0e-94ba-4eb6f4ae0d5d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-21 22:43:41 |

2020-10-21 22:43:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:41 | ------------------------------------

2020-10-21 22:43:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-21 22:43:41 | 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-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3</value><value>node-db662892-1041-4bb0-8f9d-5197648a011b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-10-21 22:43:41 |

2020-10-21 22:43:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:41 | ------------------------------------

2020-10-21 22:43:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3)</node-pattern></data>

2020-10-21 22:43:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.171s
2020-10-21 22:43:39 |

2020-10-21 22:43:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:39 | ------------------------------------

2020-10-21 22:43:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-21 22:43:39 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.322s
2020-10-21 22:43:41 |

2020-10-21 22:43:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-21 22:43:41 | ------------------------------------

2020-10-21 22:43:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0fb760ca-9de4-4fe4-9e0c-8ad0b42c17b3</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-21 22:43:42 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>