Generated by TestNG with ReportNG at 22:18 PDT on Thursday 30 June 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.877s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.678s
2022-06-30 22:33:26 |

2022-06-30 22:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-30 22:33:26 | ------------------------------------

2022-06-30 22:33:26 | [Mutex] isItemNotified: node_9zh4n10204:exists :: false

2022-06-30 22:33:26 | [Mutex] waiting for: [node_9zh4n10204:create_node]

2022-06-30 22:33:26 | [Mutex] received everything.

2022-06-30 22:33:26 | [Mutex] isItemNotified: node_9zh4n10204:create_node:success :: true

2022-06-30 22:33:26 | [Mutex] waiting for: [node_9zh4n10204:subscribe_node]

2022-06-30 22:33:26 | [Mutex] waiting for: [node_9zh4n10204:subscribe_node]

2022-06-30 22:33:26 | [Mutex] received everything.

2022-06-30 22:33:26 | [Mutex] isItemNotified: node_9zh4n10204:subscribe_node:success :: true

2022-06-30 22:33:26 |


===== publishing normal message (to online)


2022-06-30 22:33:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-30 22:33:26 | command: <data><node>node_9zh4n10204</node><entry><content>content_ndk93d0205</content></entry></data>

2022-06-30 22:33:26 | target: http://localhost:8088

2022-06-30 22:33:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-30 22:33:26 | entity: <data><node>node_9zh4n10204</node><entry><content>content_ndk93d0205</content></entry></data>

2022-06-30 22:33:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:33:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-30 22:33:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c75b1492-1af7-42c3-bd78-f26b44d9902f</value></item-id></result>

2022-06-30 22:33:26 | contains: true

2022-06-30 22:33:26 | [Mutex] waiting for: [user_regularpbfnzf0203@test-domain.com:message:received:content_ndk93d0205]

2022-06-30 22:33:26 | [Mutex] received everything.

2022-06-30 22:33:26 | [Mutex] isItemNotified: user_regularpbfnzf0203@test-domain.com:message:received:content_ndk93d0205 :: true

2022-06-30 22:33:26 |


===== publishing already old message - expecting message being filtered out (to online)


2022-06-30 22:33:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-30 22:33:26 | command: <data><node>node_9zh4n10204</node><expire-at>2022-07-01T05:33:21Z</expire-at><entry><content>content_i4xbgt0206</content></entry></data>

2022-06-30 22:33:26 | target: http://localhost:8088

2022-06-30 22:33:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-30 22:33:26 | entity: <data><node>node_9zh4n10204</node><expire-at>2022-07-01T05:33:21Z</expire-at><entry><content>content_i4xbgt0206</content></entry></data>

2022-06-30 22:33:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:33:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-30 22:33:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>851fc0bc-fd98-4b7e-bb57-6d3ff0def822</value></item-id></result>

2022-06-30 22:33:26 | contains: true

2022-06-30 22:33:26 | [Mutex] waiting for: [user_regularpbfnzf0203@test-domain.com:message:received:content_i4xbgt0206]

2022-06-30 22:33:41 | [Mutex] timeout. Not received [user_regularpbfnzf0203@test-domain.com:message:received:content_i4xbgt0206]

2022-06-30 22:33:41 | [Mutex] isItemNotified: user_regularpbfnzf0203@test-domain.com:message:received:content_i4xbgt0206 :: false

2022-06-30 22:33:41 |


===== publishing normal message (to offline)


2022-06-30 22:33:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-30 22:33:41 | command: <data><node>node_9zh4n10204</node><entry><content>content_71ydu0207</content></entry></data>

2022-06-30 22:33:41 | target: http://localhost:8088

2022-06-30 22:33:41 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-06-30 22:33:41 | entity: <data><node>node_9zh4n10204</node><entry><content>content_71ydu0207</content></entry></data>

2022-06-30 22:33:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:33:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-30 22:33:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d91ba716-e5be-4391-b283-75180771d108</value></item-id></result>

2022-06-30 22:33:41 | contains: true

2022-06-30 22:33:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-30 22:33:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-06-30 22:33:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-30 22:33:47 | [Mutex] waiting for: [user_regularpbfnzf0203@test-domain.com:message:received:content_71ydu0207]

2022-06-30 22:33:47 | [Mutex] waiting for: [user_regularpbfnzf0203@test-domain.com:message:received:content_71ydu0207]

2022-06-30 22:33:47 | [Mutex] received everything.

2022-06-30 22:33:47 | [Mutex] isItemNotified: user_regularpbfnzf0203@test-domain.com:message:received:content_71ydu0207 :: true

2022-06-30 22:33:47 |


===== publishing already old message - expecting message being filtered out (to offline)


2022-06-30 22:33:47 | [Mutex] received everything.

2022-06-30 22:33:47 | [Mutex] isItemNotified: node_9zh4n10204:subscribe_node:success :: true

2022-06-30 22:33:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-30 22:33:47 | command: <data><node>node_9zh4n10204</node><expire-at>2022-07-01T05:33:52Z</expire-at><entry><content>content_pnaxro0208</content></entry></data>

2022-06-30 22:33:47 | target: http://localhost:8088

2022-06-30 22:33:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-30 22:33:47 | entity: <data><node>node_9zh4n10204</node><expire-at>2022-07-01T05:33:52Z</expire-at><entry><content>content_pnaxro0208</content></entry></data>

2022-06-30 22:33:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:33:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-30 22:33:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ad08a3cc-675e-480f-8382-2ae5e95c0dc8</value></item-id></result>

2022-06-30 22:33:47 | contains: true

2022-06-30 22:33:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-30 22:33:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-30 22:33:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-30 22:33:55 | [Mutex] waiting for: [user_regularpbfnzf0203@test-domain.com:message:received:content_pnaxro0208]

2022-06-30 22:33:55 | [Mutex] waiting for: [user_regularpbfnzf0203@test-domain.com:message:received:content_pnaxro0208]

2022-06-30 22:33:55 | [Mutex] waiting for: [user_regularpbfnzf0203@test-domain.com:message:received:content_pnaxro0208]

2022-06-30 22:34:10 | [Mutex] timeout. Not received [user_regularpbfnzf0203@test-domain.com:message:received:content_pnaxro0208]

2022-06-30 22:34:10 | [Mutex] received everything.

2022-06-30 22:34:10 | [Mutex] isItemNotified: user_regularpbfnzf0203@test-domain.com:message:received:content_pnaxro0208 :: false

2022-06-30 22:34:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pnaxro0208 :: true