Generated by TestNG with ReportNG at 22:23 PDT on Sunday 05 June 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 44.518s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.594s
2022-06-05 22:38:14 |

2022-06-05 22:38:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-05 22:38:14 | ------------------------------------

2022-06-05 22:38:14 | [Mutex] isItemNotified: node_fs70jh0204:exists :: false

2022-06-05 22:38:14 | [Mutex] waiting for: [node_fs70jh0204:create_node]

2022-06-05 22:38:14 | [Mutex] waiting for: [node_fs70jh0204:create_node]

2022-06-05 22:38:14 | [Mutex] received everything.

2022-06-05 22:38:14 | [Mutex] isItemNotified: node_fs70jh0204:create_node:success :: true

2022-06-05 22:38:14 | [Mutex] waiting for: [node_fs70jh0204:subscribe_node]

2022-06-05 22:38:14 | [Mutex] received everything.

2022-06-05 22:38:14 | [Mutex] isItemNotified: node_fs70jh0204:subscribe_node:success :: true

2022-06-05 22:38:14 |


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


2022-06-05 22:38:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-05 22:38:14 | command: <data><node>node_fs70jh0204</node><entry><content>content_cvlayz0205</content></entry></data>

2022-06-05 22:38:14 | target: http://localhost:8088

2022-06-05 22:38:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-05 22:38:14 | entity: <data><node>node_fs70jh0204</node><entry><content>content_cvlayz0205</content></entry></data>

2022-06-05 22:38:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:38:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-05 22:38:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ec8685f8-4395-4a80-b6b9-9dbf813c04ce</value></item-id></result>

2022-06-05 22:38:14 | contains: true

2022-06-05 22:38:14 | [Mutex] received everything.

2022-06-05 22:38:14 | [Mutex] isItemNotified: user_regulart0no9n0203@test-domain.com:message:received:content_cvlayz0205 :: true

2022-06-05 22:38:14 |


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


2022-06-05 22:38:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-05 22:38:14 | command: <data><node>node_fs70jh0204</node><expire-at>2022-06-06T05:38:09Z</expire-at><entry><content>content_2rm5b80206</content></entry></data>

2022-06-05 22:38:14 | target: http://localhost:8088

2022-06-05 22:38:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-05 22:38:14 | entity: <data><node>node_fs70jh0204</node><expire-at>2022-06-06T05:38:09Z</expire-at><entry><content>content_2rm5b80206</content></entry></data>

2022-06-05 22:38:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:38:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-05 22:38:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d96425b0-d885-4829-809e-9b8e5421ecf9</value></item-id></result>

2022-06-05 22:38:14 | contains: true

2022-06-05 22:38:14 | [Mutex] waiting for: [user_regulart0no9n0203@test-domain.com:message:received:content_2rm5b80206]

2022-06-05 22:38:29 | [Mutex] timeout. Not received [user_regulart0no9n0203@test-domain.com:message:received:content_2rm5b80206]

2022-06-05 22:38:29 | [Mutex] isItemNotified: user_regulart0no9n0203@test-domain.com:message:received:content_2rm5b80206 :: false

2022-06-05 22:38:29 |


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


2022-06-05 22:38:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-05 22:38:29 | command: <data><node>node_fs70jh0204</node><entry><content>content_yfvwhd0207</content></entry></data>

2022-06-05 22:38:29 | target: http://localhost:8088

2022-06-05 22:38:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-05 22:38:29 | entity: <data><node>node_fs70jh0204</node><entry><content>content_yfvwhd0207</content></entry></data>

2022-06-05 22:38:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:38:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-05 22:38:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f644857d-f382-4c2e-8a34-a96064a2bfb2</value></item-id></result>

2022-06-05 22:38:29 | contains: true

2022-06-05 22:38:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-05 22:38:34 | [Mutex] waiting for: [user_regulart0no9n0203@test-domain.com:message:received:content_yfvwhd0207]

2022-06-05 22:38:34 | [Mutex] received everything.

2022-06-05 22:38:34 | [Mutex] isItemNotified: user_regulart0no9n0203@test-domain.com:message:received:content_yfvwhd0207 :: true

2022-06-05 22:38:34 |


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


2022-06-05 22:38:34 | [Mutex] received everything.

2022-06-05 22:38:34 | [Mutex] isItemNotified: node_fs70jh0204:subscribe_node:success :: true

2022-06-05 22:38:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-05 22:38:34 | command: <data><node>node_fs70jh0204</node><expire-at>2022-06-06T05:38:39Z</expire-at><entry><content>content_tmby280208</content></entry></data>

2022-06-05 22:38:34 | target: http://localhost:8088

2022-06-05 22:38:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-05 22:38:34 | entity: <data><node>node_fs70jh0204</node><expire-at>2022-06-06T05:38:39Z</expire-at><entry><content>content_tmby280208</content></entry></data>

2022-06-05 22:38:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:38:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-05 22:38:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3f33207e-2ce7-4b86-9c4f-3bed689fd41c</value></item-id></result>

2022-06-05 22:38:34 | contains: true

2022-06-05 22:38:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-05 22:38:42 | [Mutex] waiting for: [user_regulart0no9n0203@test-domain.com:message:received:content_tmby280208]

2022-06-05 22:38:57 | [Mutex] timeout. Not received [user_regulart0no9n0203@test-domain.com:message:received:content_tmby280208]

2022-06-05 22:38:57 | [Mutex] received everything.

2022-06-05 22:38:57 | [Mutex] isItemNotified: user_regulart0no9n0203@test-domain.com:message:received:content_tmby280208 :: false

2022-06-05 22:38:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tmby280208 :: true