Generated by TestNG with ReportNG at 22:50 PDT on Sunday 02 October 2022
root@7c41cec37518 / 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.782s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.615s
2022-10-02 23:04:28 |

2022-10-02 23:04:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-10-02 23:04:28 | ------------------------------------

2022-10-02 23:04:28 | [Mutex] isItemNotified: node_4aewlu0204:exists :: false

2022-10-02 23:04:28 | [Mutex] waiting for: [node_4aewlu0204:create_node]

2022-10-02 23:04:28 | [Mutex] waiting for: [node_4aewlu0204:create_node]

2022-10-02 23:04:28 | [Mutex] received everything.

2022-10-02 23:04:28 | [Mutex] isItemNotified: node_4aewlu0204:create_node:success :: true

2022-10-02 23:04:28 | [Mutex] waiting for: [node_4aewlu0204:subscribe_node]

2022-10-02 23:04:28 | [Mutex] waiting for: [node_4aewlu0204:subscribe_node]

2022-10-02 23:04:28 | [Mutex] received everything.

2022-10-02 23:04:28 | [Mutex] isItemNotified: node_4aewlu0204:subscribe_node:success :: true

2022-10-02 23:04:28 |


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


2022-10-02 23:04:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-02 23:04:28 | command: <data><node>node_4aewlu0204</node><entry><content>content_g0j2l0205</content></entry></data>

2022-10-02 23:04:28 | target: http://localhost:8088

2022-10-02 23:04:28 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-10-02 23:04:28 | entity: <data><node>node_4aewlu0204</node><entry><content>content_g0j2l0205</content></entry></data>

2022-10-02 23:04:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 06:04:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-02 23:04:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>61e8e646-b245-4c71-9e51-898d5fa0dbca</value></item-id></result>

2022-10-02 23:04:28 | contains: true

2022-10-02 23:04:28 | [Mutex] received everything.

2022-10-02 23:04:28 | [Mutex] isItemNotified: user_regularinjlhn0203@test-domain.com:message:received:content_g0j2l0205 :: true

2022-10-02 23:04:28 |


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


2022-10-02 23:04:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-02 23:04:28 | command: <data><node>node_4aewlu0204</node><expire-at>2022-10-03T06:04:23Z</expire-at><entry><content>content_88ae2t0206</content></entry></data>

2022-10-02 23:04:28 | target: http://localhost:8088

2022-10-02 23:04:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-02 23:04:28 | entity: <data><node>node_4aewlu0204</node><expire-at>2022-10-03T06:04:23Z</expire-at><entry><content>content_88ae2t0206</content></entry></data>

2022-10-02 23:04:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 06:04:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-02 23:04:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>976c6d19-99f3-4e05-99c7-e2661f4521dd</value></item-id></result>

2022-10-02 23:04:29 | contains: true

2022-10-02 23:04:29 | [Mutex] waiting for: [user_regularinjlhn0203@test-domain.com:message:received:content_88ae2t0206]

2022-10-02 23:04:44 | [Mutex] timeout. Not received [user_regularinjlhn0203@test-domain.com:message:received:content_88ae2t0206]

2022-10-02 23:04:44 | [Mutex] isItemNotified: user_regularinjlhn0203@test-domain.com:message:received:content_88ae2t0206 :: false

2022-10-02 23:04:44 |


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


2022-10-02 23:04:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-02 23:04:44 | command: <data><node>node_4aewlu0204</node><entry><content>content_9cufym0207</content></entry></data>

2022-10-02 23:04:44 | target: http://localhost:8088

2022-10-02 23:04:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-02 23:04:44 | entity: <data><node>node_4aewlu0204</node><entry><content>content_9cufym0207</content></entry></data>

2022-10-02 23:04:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 06:04:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-02 23:04:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eda99dab-a516-463e-b98e-19e7276b2da0</value></item-id></result>

2022-10-02 23:04:44 | contains: true

2022-10-02 23:04:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-10-02 23:04:49 | [Mutex] waiting for: [user_regularinjlhn0203@test-domain.com:message:received:content_9cufym0207]

2022-10-02 23:04:49 | [Mutex] received everything.

2022-10-02 23:04:49 | [Mutex] isItemNotified: user_regularinjlhn0203@test-domain.com:message:received:content_9cufym0207 :: true

2022-10-02 23:04:49 |


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


2022-10-02 23:04:49 | [Mutex] received everything.

2022-10-02 23:04:49 | [Mutex] isItemNotified: node_4aewlu0204:subscribe_node:success :: true

2022-10-02 23:04:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-02 23:04:49 | command: <data><node>node_4aewlu0204</node><expire-at>2022-10-03T06:04:54Z</expire-at><entry><content>content_2e4apu0208</content></entry></data>

2022-10-02 23:04:49 | target: http://localhost:8088

2022-10-02 23:04:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-02 23:04:49 | entity: <data><node>node_4aewlu0204</node><expire-at>2022-10-03T06:04:54Z</expire-at><entry><content>content_2e4apu0208</content></entry></data>

2022-10-02 23:04:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 06:04:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-02 23:04:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dc9c5445-94c8-4ef8-b59c-b739c878b443</value></item-id></result>

2022-10-02 23:04:49 | contains: true

2022-10-02 23:04:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-10-02 23:04:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-02 23:04:57 | [Mutex] waiting for: [user_regularinjlhn0203@test-domain.com:message:received:content_2e4apu0208]

2022-10-02 23:04:57 | [Mutex] waiting for: [user_regularinjlhn0203@test-domain.com:message:received:content_2e4apu0208]

2022-10-02 23:04:57 | [Mutex] waiting for: [user_regularinjlhn0203@test-domain.com:message:received:content_2e4apu0208]

2022-10-02 23:05:12 | [Mutex] timeout. Not received [user_regularinjlhn0203@test-domain.com:message:received:content_2e4apu0208]

2022-10-02 23:05:12 | [Mutex] received everything.

2022-10-02 23:05:12 | [Mutex] isItemNotified: user_regularinjlhn0203@test-domain.com:message:received:content_2e4apu0208 :: false

2022-10-02 23:05:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2e4apu0208 :: true