Generated by TestNG with ReportNG at 22:30 PDT on Sunday 04 June 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.918s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.725s
2023-06-04 22:45:06 |

2023-06-04 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-06-04 22:45:06 | ------------------------------------

2023-06-04 22:45:06 | [Mutex] isItemNotified: node_sych2w0208:exists :: false

2023-06-04 22:45:06 | [Mutex] waiting for: [node_sych2w0208:create_node]

2023-06-04 22:45:06 | [Mutex] waiting for: [node_sych2w0208:create_node]

2023-06-04 22:45:06 | [Mutex] received everything.

2023-06-04 22:45:06 | [Mutex] isItemNotified: node_sych2w0208:create_node:success :: true

2023-06-04 22:45:06 | [Mutex] waiting for: [node_sych2w0208:subscribe_node]

2023-06-04 22:45:06 | [Mutex] waiting for: [node_sych2w0208:subscribe_node]

2023-06-04 22:45:06 | [Mutex] received everything.

2023-06-04 22:45:06 | [Mutex] isItemNotified: node_sych2w0208:subscribe_node:success :: true

2023-06-04 22:45:06 |


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


2023-06-04 22:45:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 22:45:06 | command: <data><node>node_sych2w0208</node><entry><content>content_r5sgux0209</content></entry></data>

2023-06-04 22:45:06 | target: http://localhost:8088

2023-06-04 22:45:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-04 22:45:06 | entity: <data><node>node_sych2w0208</node><entry><content>content_r5sgux0209</content></entry></data>

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

2023-06-04 22:45:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6ed7989a-c2fc-4a55-bf77-7e7e9726ba0c</value></item-id></result>

2023-06-04 22:45:06 | contains: true

2023-06-04 22:45:06 | [Mutex] waiting for: [user_regulararlwdb0207@test-domain.com:message:received:content_r5sgux0209]

2023-06-04 22:45:06 | [Mutex] received everything.

2023-06-04 22:45:06 | [Mutex] isItemNotified: user_regulararlwdb0207@test-domain.com:message:received:content_r5sgux0209 :: true

2023-06-04 22:45:06 |


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


2023-06-04 22:45:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 22:45:06 | command: <data><node>node_sych2w0208</node><expire-at>2023-06-05T05:45:01Z</expire-at><entry><content>content_mobu0s0210</content></entry></data>

2023-06-04 22:45:06 | target: http://localhost:8088

2023-06-04 22:45:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-04 22:45:06 | entity: <data><node>node_sych2w0208</node><expire-at>2023-06-05T05:45:01Z</expire-at><entry><content>content_mobu0s0210</content></entry></data>

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

2023-06-04 22:45:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>976bf2a1-cb95-43c8-9549-f3147d21d186</value></item-id></result>

2023-06-04 22:45:06 | contains: true

2023-06-04 22:45:06 | [Mutex] waiting for: [user_regulararlwdb0207@test-domain.com:message:received:content_mobu0s0210]

2023-06-04 22:45:21 | [Mutex] timeout. Not received [user_regulararlwdb0207@test-domain.com:message:received:content_mobu0s0210]

2023-06-04 22:45:21 | [Mutex] isItemNotified: user_regulararlwdb0207@test-domain.com:message:received:content_mobu0s0210 :: false

2023-06-04 22:45:21 |


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


2023-06-04 22:45:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 22:45:21 | command: <data><node>node_sych2w0208</node><entry><content>content_j7r8li0211</content></entry></data>

2023-06-04 22:45:21 | target: http://localhost:8088

2023-06-04 22:45:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-04 22:45:21 | entity: <data><node>node_sych2w0208</node><entry><content>content_j7r8li0211</content></entry></data>

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

2023-06-04 22:45:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b7b1b57-5dd2-4f80-8ffe-b4850b010fb1</value></item-id></result>

2023-06-04 22:45:21 | contains: true

2023-06-04 22:45:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-06-04 22:45:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-06-04 22:45:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-06-04 22:45:26 | [Mutex] waiting for: [user_regulararlwdb0207@test-domain.com:message:received:content_j7r8li0211]

2023-06-04 22:45:26 | [Mutex] waiting for: [user_regulararlwdb0207@test-domain.com:message:received:content_j7r8li0211]

2023-06-04 22:45:26 | [Mutex] received everything.

2023-06-04 22:45:26 | [Mutex] isItemNotified: user_regulararlwdb0207@test-domain.com:message:received:content_j7r8li0211 :: true

2023-06-04 22:45:26 |


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


2023-06-04 22:45:26 | [Mutex] received everything.

2023-06-04 22:45:26 | [Mutex] isItemNotified: node_sych2w0208:subscribe_node:success :: true

2023-06-04 22:45:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 22:45:26 | command: <data><node>node_sych2w0208</node><expire-at>2023-06-05T05:45:31Z</expire-at><entry><content>content_r4lrwv0212</content></entry></data>

2023-06-04 22:45:26 | target: http://localhost:8088

2023-06-04 22:45:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-04 22:45:26 | entity: <data><node>node_sych2w0208</node><expire-at>2023-06-05T05:45:31Z</expire-at><entry><content>content_r4lrwv0212</content></entry></data>

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

2023-06-04 22:45:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b2f8be3e-675d-412b-906c-2537c1335e6e</value></item-id></result>

2023-06-04 22:45:26 | contains: true

2023-06-04 22:45:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-06-04 22:45:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-06-04 22:45:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-06-04 22:45:34 | [Mutex] waiting for: [user_regulararlwdb0207@test-domain.com:message:received:content_r4lrwv0212]

2023-06-04 22:45:34 | [Mutex] waiting for: [user_regulararlwdb0207@test-domain.com:message:received:content_r4lrwv0212]

2023-06-04 22:45:34 | [Mutex] waiting for: [user_regulararlwdb0207@test-domain.com:message:received:content_r4lrwv0212]

2023-06-04 22:45:49 | [Mutex] timeout. Not received [user_regulararlwdb0207@test-domain.com:message:received:content_r4lrwv0212]

2023-06-04 22:45:49 | [Mutex] received everything.

2023-06-04 22:45:49 | [Mutex] isItemNotified: user_regulararlwdb0207@test-domain.com:message:received:content_r4lrwv0212 :: false

2023-06-04 22:45:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r4lrwv0212 :: true