Generated by TestNG with ReportNG at 21:15 PST on Monday 16 January 2023
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.779s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.596s
2023-01-16 21:30:32 |

2023-01-16 21:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-01-16 21:30:32 | ------------------------------------

2023-01-16 21:30:32 | [Mutex] isItemNotified: node_6jzri10204:exists :: false

2023-01-16 21:30:32 | [Mutex] waiting for: [node_6jzri10204:create_node]

2023-01-16 21:30:32 | [Mutex] received everything.

2023-01-16 21:30:32 | [Mutex] isItemNotified: node_6jzri10204:create_node:success :: true

2023-01-16 21:30:32 | [Mutex] waiting for: [node_6jzri10204:subscribe_node]

2023-01-16 21:30:32 | [Mutex] waiting for: [node_6jzri10204:subscribe_node]

2023-01-16 21:30:32 | [Mutex] received everything.

2023-01-16 21:30:32 | [Mutex] isItemNotified: node_6jzri10204:subscribe_node:success :: true

2023-01-16 21:30:32 |


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


2023-01-16 21:30:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:30:32 | command: <data><node>node_6jzri10204</node><entry><content>content_9e5frz0205</content></entry></data>

2023-01-16 21:30:32 | target: http://localhost:8088

2023-01-16 21:30:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-16 21:30:32 | entity: <data><node>node_6jzri10204</node><entry><content>content_9e5frz0205</content></entry></data>

2023-01-16 21:30:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:30:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:30:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a9b31b86-cb15-44be-b956-cf4e7861aaa7</value></item-id></result>

2023-01-16 21:30:32 | contains: true

2023-01-16 21:30:32 | [Mutex] received everything.

2023-01-16 21:30:32 | [Mutex] isItemNotified: user_regularp2aixc0203@test-domain.com:message:received:content_9e5frz0205 :: true

2023-01-16 21:30:32 |


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


2023-01-16 21:30:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:30:32 | command: <data><node>node_6jzri10204</node><expire-at>2023-01-17T05:30:27Z</expire-at><entry><content>content_x0aptr0206</content></entry></data>

2023-01-16 21:30:32 | target: http://localhost:8088

2023-01-16 21:30:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-16 21:30:32 | entity: <data><node>node_6jzri10204</node><expire-at>2023-01-17T05:30:27Z</expire-at><entry><content>content_x0aptr0206</content></entry></data>

2023-01-16 21:30:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:30:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:30:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8db4f6c3-3998-44ff-bd09-1a8a9dae33e5</value></item-id></result>

2023-01-16 21:30:32 | contains: true

2023-01-16 21:30:32 | [Mutex] waiting for: [user_regularp2aixc0203@test-domain.com:message:received:content_x0aptr0206]

2023-01-16 21:30:47 | [Mutex] timeout. Not received [user_regularp2aixc0203@test-domain.com:message:received:content_x0aptr0206]

2023-01-16 21:30:47 | [Mutex] isItemNotified: user_regularp2aixc0203@test-domain.com:message:received:content_x0aptr0206 :: false

2023-01-16 21:30:47 |


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


2023-01-16 21:30:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:30:47 | command: <data><node>node_6jzri10204</node><entry><content>content_1eqgax0207</content></entry></data>

2023-01-16 21:30:47 | target: http://localhost:8088

2023-01-16 21:30:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-16 21:30:47 | entity: <data><node>node_6jzri10204</node><entry><content>content_1eqgax0207</content></entry></data>

2023-01-16 21:30:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:30:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:30:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4377c04c-c40c-4e21-92a5-ae2624d7581b</value></item-id></result>

2023-01-16 21:30:47 | contains: true

2023-01-16 21:30:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-01-16 21:30:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-01-16 21:30:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-16 21:30:52 | [Mutex] waiting for: [user_regularp2aixc0203@test-domain.com:message:received:content_1eqgax0207]

2023-01-16 21:30:52 | [Mutex] waiting for: [user_regularp2aixc0203@test-domain.com:message:received:content_1eqgax0207]

2023-01-16 21:30:52 | [Mutex] received everything.

2023-01-16 21:30:52 | [Mutex] isItemNotified: user_regularp2aixc0203@test-domain.com:message:received:content_1eqgax0207 :: true

2023-01-16 21:30:52 |


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


2023-01-16 21:30:52 | [Mutex] received everything.

2023-01-16 21:30:52 | [Mutex] isItemNotified: node_6jzri10204:subscribe_node:success :: true

2023-01-16 21:30:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:30:52 | command: <data><node>node_6jzri10204</node><expire-at>2023-01-17T05:30:57Z</expire-at><entry><content>content_l5iw9u0208</content></entry></data>

2023-01-16 21:30:52 | target: http://localhost:8088

2023-01-16 21:30:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-16 21:30:52 | entity: <data><node>node_6jzri10204</node><expire-at>2023-01-17T05:30:57Z</expire-at><entry><content>content_l5iw9u0208</content></entry></data>

2023-01-16 21:30:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:30:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:30:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a27236c3-302b-40a0-b29c-4e48faa8c32c</value></item-id></result>

2023-01-16 21:30:52 | contains: true

2023-01-16 21:31:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-01-16 21:31:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-01-16 21:31:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-16 21:31:00 | [Mutex] waiting for: [user_regularp2aixc0203@test-domain.com:message:received:content_l5iw9u0208]

2023-01-16 21:31:00 | [Mutex] waiting for: [user_regularp2aixc0203@test-domain.com:message:received:content_l5iw9u0208]

2023-01-16 21:31:00 | [Mutex] waiting for: [user_regularp2aixc0203@test-domain.com:message:received:content_l5iw9u0208]

2023-01-16 21:31:15 | [Mutex] timeout. Not received [user_regularp2aixc0203@test-domain.com:message:received:content_l5iw9u0208]

2023-01-16 21:31:15 | [Mutex] received everything.

2023-01-16 21:31:15 | [Mutex] isItemNotified: user_regularp2aixc0203@test-domain.com:message:received:content_l5iw9u0208 :: false

2023-01-16 21:31:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l5iw9u0208 :: true