Generated by TestNG with ReportNG at 22:22 PDT on Saturday 22 October 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.689s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.679s
2022-10-22 22:50:44 |

2022-10-22 22:50:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-10-22 22:50:44 | ------------------------------------

2022-10-22 22:50:44 | [Mutex] isItemNotified: node_4q3n3a0204:exists :: false

2022-10-22 22:50:44 | [Mutex] waiting for: [node_4q3n3a0204:create_node]

2022-10-22 22:50:44 | [Mutex] received everything.

2022-10-22 22:50:44 | [Mutex] isItemNotified: node_4q3n3a0204:create_node:success :: true

2022-10-22 22:50:44 | [Mutex] waiting for: [node_4q3n3a0204:subscribe_node]

2022-10-22 22:50:44 | [Mutex] received everything.

2022-10-22 22:50:44 | [Mutex] isItemNotified: node_4q3n3a0204:subscribe_node:success :: true

2022-10-22 22:50:44 |


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


2022-10-22 22:50:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-22 22:50:44 | command: <data><node>node_4q3n3a0204</node><entry><content>content_m6mn9c0205</content></entry></data>

2022-10-22 22:50:44 | target: http://localhost:8088

2022-10-22 22:50:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-22 22:50:44 | entity: <data><node>node_4q3n3a0204</node><entry><content>content_m6mn9c0205</content></entry></data>

2022-10-22 22:50:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 23 Oct 2022 05:50:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-22 22:50:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7e99c1fd-fc5b-4c91-a7da-10d2bf6778a8</value></item-id></result>

2022-10-22 22:50:44 | contains: true

2022-10-22 22:50:44 | [Mutex] received everything.

2022-10-22 22:50:44 | [Mutex] isItemNotified: user_regularbhowqv0203@test-domain.com:message:received:content_m6mn9c0205 :: true

2022-10-22 22:50:44 |


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


2022-10-22 22:50:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-22 22:50:44 | command: <data><node>node_4q3n3a0204</node><expire-at>2022-10-23T05:50:39Z</expire-at><entry><content>content_ktrjm50206</content></entry></data>

2022-10-22 22:50:44 | target: http://localhost:8088

2022-10-22 22:50:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-22 22:50:44 | entity: <data><node>node_4q3n3a0204</node><expire-at>2022-10-23T05:50:39Z</expire-at><entry><content>content_ktrjm50206</content></entry></data>

2022-10-22 22:50:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 23 Oct 2022 05:50:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-22 22:50:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1c468b26-3e84-48cd-a349-ef9b9fc6f41b</value></item-id></result>

2022-10-22 22:50:44 | contains: true

2022-10-22 22:50:44 | [Mutex] waiting for: [user_regularbhowqv0203@test-domain.com:message:received:content_ktrjm50206]

2022-10-22 22:50:59 | [Mutex] timeout. Not received [user_regularbhowqv0203@test-domain.com:message:received:content_ktrjm50206]

2022-10-22 22:50:59 | [Mutex] isItemNotified: user_regularbhowqv0203@test-domain.com:message:received:content_ktrjm50206 :: false

2022-10-22 22:50:59 |


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


2022-10-22 22:50:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-22 22:50:59 | command: <data><node>node_4q3n3a0204</node><entry><content>content_556jyc0207</content></entry></data>

2022-10-22 22:50:59 | target: http://localhost:8088

2022-10-22 22:50:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-22 22:50:59 | entity: <data><node>node_4q3n3a0204</node><entry><content>content_556jyc0207</content></entry></data>

2022-10-22 22:50:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 23 Oct 2022 05:50:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-22 22:50:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6f56c3d2-43b0-4fda-bd03-85c6bef06d5f</value></item-id></result>

2022-10-22 22:50:59 | contains: true

2022-10-22 22:51:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-10-22 22:51:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-22 22:51:05 | [Mutex] waiting for: [user_regularbhowqv0203@test-domain.com:message:received:content_556jyc0207]

2022-10-22 22:51:05 | [Mutex] waiting for: [user_regularbhowqv0203@test-domain.com:message:received:content_556jyc0207]

2022-10-22 22:51:05 | [Mutex] received everything.

2022-10-22 22:51:05 | [Mutex] isItemNotified: user_regularbhowqv0203@test-domain.com:message:received:content_556jyc0207 :: true

2022-10-22 22:51:05 |


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


2022-10-22 22:51:05 | [Mutex] received everything.

2022-10-22 22:51:05 | [Mutex] isItemNotified: node_4q3n3a0204:subscribe_node:success :: true

2022-10-22 22:51:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-22 22:51:05 | command: <data><node>node_4q3n3a0204</node><expire-at>2022-10-23T05:51:10Z</expire-at><entry><content>content_fsdns40208</content></entry></data>

2022-10-22 22:51:05 | target: http://localhost:8088

2022-10-22 22:51:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-22 22:51:05 | entity: <data><node>node_4q3n3a0204</node><expire-at>2022-10-23T05:51:10Z</expire-at><entry><content>content_fsdns40208</content></entry></data>

2022-10-22 22:51:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 23 Oct 2022 05:51:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-22 22:51:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2bb4bbe6-f253-4d9f-b1c4-14e9346b295a</value></item-id></result>

2022-10-22 22:51:05 | contains: true

2022-10-22 22:51:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-10-22 22:51:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-22 22:51:13 | [Mutex] waiting for: [user_regularbhowqv0203@test-domain.com:message:received:content_fsdns40208]

2022-10-22 22:51:13 | [Mutex] waiting for: [user_regularbhowqv0203@test-domain.com:message:received:content_fsdns40208]

2022-10-22 22:51:28 | [Mutex] timeout. Not received [user_regularbhowqv0203@test-domain.com:message:received:content_fsdns40208]

2022-10-22 22:51:28 | [Mutex] received everything.

2022-10-22 22:51:28 | [Mutex] isItemNotified: user_regularbhowqv0203@test-domain.com:message:received:content_fsdns40208 :: false

2022-10-22 22:51:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fsdns40208 :: true