Generated by TestNG with ReportNG at 22:18 PDT on Tuesday 16 August 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.470s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2022-08-16 22:33:02 |

2022-08-16 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 22:33:02 | ------------------------------------

2022-08-16 22:33:02 | [Mutex] waiting for: [configured:node:node-80cb50f5-62aa-47c1-8af7-04394c624aee:node-2f6b05d3-3755-4ba2-a32c-79fde4830e75]

2022-08-16 22:33:02 | [Mutex] received everything.

2022-08-16 22:33:02 | [Mutex] isItemNotified: configured:node:node-80cb50f5-62aa-47c1-8af7-04394c624aee:node-2f6b05d3-3755-4ba2-a32c-79fde4830e75 :: true

2022-08-16 22:33:03 | [Mutex] waiting for: [received:nodes:fd6351ec-97f6-4d6c-a554-62e05601ccea:localhost]

2022-08-16 22:33:03 | [Mutex] received everything.

2022-08-16 22:33:03 | [Mutex] isItemNotified: received:node:fd6351ec-97f6-4d6c-a554-62e05601ccea:localhost:node-80cb50f5-62aa-47c1-8af7-04394c624aee:Node 80cb50f5-62aa-47c1-8af7-04394c624aee :: true

2022-08-16 22:33:03 | [Mutex] waiting for: [received:nodes:cbad8634-b07e-41a2-a717-caf2b7d3327e:localhost]

2022-08-16 22:33:03 | [Mutex] waiting for: [received:nodes:cbad8634-b07e-41a2-a717-caf2b7d3327e:localhost]

2022-08-16 22:33:03 | [Mutex] waiting for: [received:nodes:cbad8634-b07e-41a2-a717-caf2b7d3327e:localhost]

2022-08-16 22:33:03 | [Mutex] received everything.

2022-08-16 22:33:03 | [Mutex] isItemNotified: received:node:cbad8634-b07e-41a2-a717-caf2b7d3327e:localhost:node-80cb50f5-62aa-47c1-8af7-04394c624aee:Node 80cb50f5-62aa-47c1-8af7-04394c624aee :: false

createNodes 1.412s
2022-08-16 22:33:00 |

2022-08-16 22:33:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 22:33:00 | ------------------------------------

2022-08-16 22:33:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-80cb50f5-62aa-47c1-8af7-04394c624aee</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 80cb50f5-62aa-47c1-8af7-04394c624aee</title></pubsub></data>

2022-08-16 22:33:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-16 22:33:01 | [Mutex] waiting for: [received:nodes:834c0bbc-0a81-44b4-aa4f-cbbca40b0b56:localhost]

2022-08-16 22:33:01 | [Mutex] waiting for: [received:nodes:834c0bbc-0a81-44b4-aa4f-cbbca40b0b56:localhost]

2022-08-16 22:33:01 | [Mutex] received everything.

2022-08-16 22:33:01 | [Mutex] isItemNotified: received:node:834c0bbc-0a81-44b4-aa4f-cbbca40b0b56:localhost:node-80cb50f5-62aa-47c1-8af7-04394c624aee:Node 80cb50f5-62aa-47c1-8af7-04394c624aee :: true

createSubnodes 1.029s
2022-08-16 22:33:01 |

2022-08-16 22:33:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 22:33:01 | ------------------------------------

2022-08-16 22:33:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2f6b05d3-3755-4ba2-a32c-79fde4830e75</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2f6b05d3-3755-4ba2-a32c-79fde4830e75</title></pubsub></data>

2022-08-16 22:33:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-16 22:33:02 | [Mutex] waiting for: [received:nodes:53924da3-e41d-4aa6-be46-487b01bce8d0:localhost]

2022-08-16 22:33:02 | [Mutex] received everything.

2022-08-16 22:33:02 | [Mutex] isItemNotified: received:node:53924da3-e41d-4aa6-be46-487b01bce8d0:localhost:node-2f6b05d3-3755-4ba2-a32c-79fde4830e75:Node 2f6b05d3-3755-4ba2-a32c-79fde4830e75 :: true

deleteNodes 1.018s
2022-08-16 22:33:08 |

2022-08-16 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 22:33:08 | ------------------------------------

2022-08-16 22:33:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2f6b05d3-3755-4ba2-a32c-79fde4830e75</node></data>

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

2022-08-16 22:33:09 | [Mutex] waiting for: [received:nodes:10dbd332-e40b-4dd5-9da2-2d46da6fc06d:localhost]

2022-08-16 22:33:09 | [Mutex] received everything.

2022-08-16 22:33:09 | [Mutex] isItemNotified: received:node:10dbd332-e40b-4dd5-9da2-2d46da6fc06d:localhost:node-2f6b05d3-3755-4ba2-a32c-79fde4830e75:Node 2f6b05d3-3755-4ba2-a32c-79fde4830e75 :: false

deleteSubnodes 1.135s
2022-08-16 22:33:06 |

2022-08-16 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 22:33:06 | ------------------------------------

2022-08-16 22:33:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-80cb50f5-62aa-47c1-8af7-04394c624aee</node></data>

2022-08-16 22:33:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-16 22:33:08 | [Mutex] waiting for: [received:nodes:a407a455-7412-4249-9ea4-df4292eb0380:localhost]

2022-08-16 22:33:08 | [Mutex] received everything.

2022-08-16 22:33:08 | [Mutex] isItemNotified: received:node:a407a455-7412-4249-9ea4-df4292eb0380:localhost:node-80cb50f5-62aa-47c1-8af7-04394c624aee:Node 80cb50f5-62aa-47c1-8af7-04394c624aee :: false

2022-08-16 22:33:08 | [Mutex] waiting for: [received:nodes:f7e8a3da-8735-4b99-9393-1546495a17ef:localhost]

2022-08-16 22:33:08 | [Mutex] received everything.

2022-08-16 22:33:08 | [Mutex] isItemNotified: received:node:f7e8a3da-8735-4b99-9393-1546495a17ef:localhost:node-80cb50f5-62aa-47c1-8af7-04394c624aee:Node 80cb50f5-62aa-47c1-8af7-04394c624aee :: false

publishItemsToNodes 0.251s
2022-08-16 22:33:04 |

2022-08-16 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 22:33:04 | ------------------------------------

2022-08-16 22:33:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-80cb50f5-62aa-47c1-8af7-04394c624aee</node><item-id>item-f2d16272-ed11-4969-b903-206b8236aa99</item-id><entry><test>item-f2d16272-ed11-4969-b903-206b8236aa99</test></entry></data>

2022-08-16 22:33:05 | 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-f2d16272-ed11-4969-b903-206b8236aa99</value></item-id></result>

2022-08-16 22:33:05 | [Mutex] received everything.

2022-08-16 22:33:05 | [Mutex] isItemNotified: published:item:notifieditem-f2d16272-ed11-4969-b903-206b8236aa99:admin@test-domain.com :: true

retractItemsFromNodes 0.193s
2022-08-16 22:33:05 |

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

2022-08-16 22:33:05 | ------------------------------------

2022-08-16 22:33:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-80cb50f5-62aa-47c1-8af7-04394c624aee</node><item-id>item-f2d16272-ed11-4969-b903-206b8236aa99</item-id></data>

2022-08-16 22:33:05 | 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-f2d16272-ed11-4969-b903-206b8236aa99</value></item-id></result>

2022-08-16 22:33:05 | [Mutex] waiting for: [retracted:item:notifieditem-f2d16272-ed11-4969-b903-206b8236aa99:admin@test-domain.com]

2022-08-16 22:33:05 | [Mutex] received everything.

2022-08-16 22:33:05 | [Mutex] isItemNotified: retracted:item:notifieditem-f2d16272-ed11-4969-b903-206b8236aa99:admin@test-domain.com :: true

retrieveItemsFromNodes 0.209s
2022-08-16 22:33:05 |

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

2022-08-16 22:33:05 | ------------------------------------

2022-08-16 22:33:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-80cb50f5-62aa-47c1-8af7-04394c624aee</node><item-id>item-f2d16272-ed11-4969-b903-206b8236aa99</item-id></data>

2022-08-16 22:33:05 | 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-80cb50f5-62aa-47c1-8af7-04394c624aee</value></node><item-id type="text-single" label="Item ID"><value>item-f2d16272-ed11-4969-b903-206b8236aa99</value></item-id><item type="text-multi" label="Item"><value><item id="item-f2d16272-ed11-4969-b903-206b8236aa99"><test>item-f2d16272-ed11-4969-b903-206b8236aa99</test></item></value></item></result>

2022-08-16 22:33:05 | [Mutex] notify: [retrieved:item:item-f2d16272-ed11-4969-b903-206b8236aa99:payload-matches:true:localhost]

2022-08-16 22:33:05 | [Mutex] received everything.

2022-08-16 22:33:05 | [Mutex] isItemNotified: retrieved:item:item-f2d16272-ed11-4969-b903-206b8236aa99:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-08-16 22:33:05 |

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

2022-08-16 22:33:05 | ------------------------------------

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

2022-08-16 22:33:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-80cb50f5-62aa-47c1-8af7-04394c624aee</value><value>test</value><value>node-2f6b05d3-3755-4ba2-a32c-79fde4830e75</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-16 22:33:05 |

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

2022-08-16 22:33:05 | ------------------------------------

2022-08-16 22:33:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-80cb50f5-62aa-47c1-8af7-04394c624aee)</node-pattern></data>

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

subscribeNodes 1.101s
2022-08-16 22:33:03 |

2022-08-16 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-16 22:33:03 | ------------------------------------

2022-08-16 22:33:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-80cb50f5-62aa-47c1-8af7-04394c624aee</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-16 22:33:03 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.237s
2022-08-16 22:33:05 |

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

2022-08-16 22:33:05 | ------------------------------------

2022-08-16 22:33:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-80cb50f5-62aa-47c1-8af7-04394c624aee</node><jids><value>admin@test-domain.com</value></jids></data>

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