Generated by TestNG with ReportNG at 22:19 PDT on Saturday 13 August 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.853s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.603s
2022-08-13 22:33:29 |

2022-08-13 22:33:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-13 22:33:29 | ------------------------------------

2022-08-13 22:33:29 | [Mutex] isItemNotified: node_ylvng00204:exists :: false

2022-08-13 22:33:29 | [Mutex] waiting for: [node_ylvng00204:create_node]

2022-08-13 22:33:29 | [Mutex] received everything.

2022-08-13 22:33:29 | [Mutex] isItemNotified: node_ylvng00204:create_node:success :: true

2022-08-13 22:33:29 | [Mutex] waiting for: [node_ylvng00204:subscribe_node]

2022-08-13 22:33:29 | [Mutex] waiting for: [node_ylvng00204:subscribe_node]

2022-08-13 22:33:29 | [Mutex] received everything.

2022-08-13 22:33:29 | [Mutex] isItemNotified: node_ylvng00204:subscribe_node:success :: true

2022-08-13 22:33:29 |


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


2022-08-13 22:33:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-13 22:33:29 | command: <data><node>node_ylvng00204</node><entry><content>content_o8qmzn0205</content></entry></data>

2022-08-13 22:33:29 | target: http://localhost:8088

2022-08-13 22:33:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-13 22:33:29 | entity: <data><node>node_ylvng00204</node><entry><content>content_o8qmzn0205</content></entry></data>

2022-08-13 22:33:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 05:33:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-13 22:33:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>33a797af-2d38-4985-bbb6-b38ebebec745</value></item-id></result>

2022-08-13 22:33:29 | contains: true

2022-08-13 22:33:29 | [Mutex] received everything.

2022-08-13 22:33:29 | [Mutex] isItemNotified: user_regularsc0fa00203@test-domain.com:message:received:content_o8qmzn0205 :: true

2022-08-13 22:33:29 |


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


2022-08-13 22:33:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-13 22:33:29 | command: <data><node>node_ylvng00204</node><expire-at>2022-08-14T05:33:24Z</expire-at><entry><content>content_8wbtqw0206</content></entry></data>

2022-08-13 22:33:29 | target: http://localhost:8088

2022-08-13 22:33:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-13 22:33:29 | entity: <data><node>node_ylvng00204</node><expire-at>2022-08-14T05:33:24Z</expire-at><entry><content>content_8wbtqw0206</content></entry></data>

2022-08-13 22:33:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 05:33:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-13 22:33:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5296b11a-727f-45ae-8a82-de68a03268d5</value></item-id></result>

2022-08-13 22:33:29 | contains: true

2022-08-13 22:33:29 | [Mutex] waiting for: [user_regularsc0fa00203@test-domain.com:message:received:content_8wbtqw0206]

2022-08-13 22:33:44 | [Mutex] timeout. Not received [user_regularsc0fa00203@test-domain.com:message:received:content_8wbtqw0206]

2022-08-13 22:33:44 | [Mutex] isItemNotified: user_regularsc0fa00203@test-domain.com:message:received:content_8wbtqw0206 :: false

2022-08-13 22:33:44 |


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


2022-08-13 22:33:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-13 22:33:44 | command: <data><node>node_ylvng00204</node><entry><content>content_xrp0ya0207</content></entry></data>

2022-08-13 22:33:44 | target: http://localhost:8088

2022-08-13 22:33:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-13 22:33:44 | entity: <data><node>node_ylvng00204</node><entry><content>content_xrp0ya0207</content></entry></data>

2022-08-13 22:33:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 05:33:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-13 22:33:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cd1392c3-72f9-425d-8cfc-4cf9d3a512a8</value></item-id></result>

2022-08-13 22:33:44 | contains: true

2022-08-13 22:33:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-08-13 22:33:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-13 22:33:49 | [Mutex] waiting for: [user_regularsc0fa00203@test-domain.com:message:received:content_xrp0ya0207]

2022-08-13 22:33:49 | [Mutex] received everything.

2022-08-13 22:33:49 | [Mutex] isItemNotified: user_regularsc0fa00203@test-domain.com:message:received:content_xrp0ya0207 :: true

2022-08-13 22:33:49 |


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


2022-08-13 22:33:49 | [Mutex] received everything.

2022-08-13 22:33:49 | [Mutex] isItemNotified: node_ylvng00204:subscribe_node:success :: true

2022-08-13 22:33:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-13 22:33:49 | command: <data><node>node_ylvng00204</node><expire-at>2022-08-14T05:33:54Z</expire-at><entry><content>content_m0b1v80208</content></entry></data>

2022-08-13 22:33:49 | target: http://localhost:8088

2022-08-13 22:33:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-13 22:33:49 | entity: <data><node>node_ylvng00204</node><expire-at>2022-08-14T05:33:54Z</expire-at><entry><content>content_m0b1v80208</content></entry></data>

2022-08-13 22:33:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 05:33:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-13 22:33:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>64e89d28-e54d-4a4c-8ab5-fb7fc65cd0ea</value></item-id></result>

2022-08-13 22:33:49 | contains: true

2022-08-13 22:33:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-13 22:33:58 | [Mutex] waiting for: [user_regularsc0fa00203@test-domain.com:message:received:content_m0b1v80208]

2022-08-13 22:33:58 | [Mutex] waiting for: [user_regularsc0fa00203@test-domain.com:message:received:content_m0b1v80208]

2022-08-13 22:33:58 | [Mutex] waiting for: [user_regularsc0fa00203@test-domain.com:message:received:content_m0b1v80208]

2022-08-13 22:34:13 | [Mutex] timeout. Not received [user_regularsc0fa00203@test-domain.com:message:received:content_m0b1v80208]

2022-08-13 22:34:13 | [Mutex] received everything.

2022-08-13 22:34:13 | [Mutex] isItemNotified: user_regularsc0fa00203@test-domain.com:message:received:content_m0b1v80208 :: false

2022-08-13 22:34:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m0b1v80208 :: true