Generated by TestNG with ReportNG at 22:35 PDT on Monday 05 September 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.899s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.585s
2022-09-05 22:50:29 |

2022-09-05 22:50:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-05 22:50:29 | ------------------------------------

2022-09-05 22:50:29 | [Mutex] isItemNotified: node_modxhe0204:exists :: false

2022-09-05 22:50:29 | [Mutex] waiting for: [node_modxhe0204:create_node]

2022-09-05 22:50:29 | [Mutex] waiting for: [node_modxhe0204:create_node]

2022-09-05 22:50:29 | [Mutex] received everything.

2022-09-05 22:50:29 | [Mutex] isItemNotified: node_modxhe0204:create_node:success :: true

2022-09-05 22:50:29 | [Mutex] waiting for: [node_modxhe0204:subscribe_node]

2022-09-05 22:50:29 | [Mutex] waiting for: [node_modxhe0204:subscribe_node]

2022-09-05 22:50:29 | [Mutex] received everything.

2022-09-05 22:50:29 | [Mutex] isItemNotified: node_modxhe0204:subscribe_node:success :: true

2022-09-05 22:50:29 |


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


2022-09-05 22:50:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:50:29 | command: <data><node>node_modxhe0204</node><entry><content>content_quueon0205</content></entry></data>

2022-09-05 22:50:29 | target: http://localhost:8088

2022-09-05 22:50:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-05 22:50:29 | entity: <data><node>node_modxhe0204</node><entry><content>content_quueon0205</content></entry></data>

2022-09-05 22:50:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:50:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:50:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>461d0b1e-4e98-4fde-b195-2af22446c86a</value></item-id></result>

2022-09-05 22:50:29 | contains: true

2022-09-05 22:50:29 | [Mutex] received everything.

2022-09-05 22:50:29 | [Mutex] isItemNotified: user_regular5122v80203@test-domain.com:message:received:content_quueon0205 :: true

2022-09-05 22:50:29 |


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


2022-09-05 22:50:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:50:29 | command: <data><node>node_modxhe0204</node><expire-at>2022-09-06T05:50:24Z</expire-at><entry><content>content_lw8a3w0206</content></entry></data>

2022-09-05 22:50:29 | target: http://localhost:8088

2022-09-05 22:50:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-05 22:50:29 | entity: <data><node>node_modxhe0204</node><expire-at>2022-09-06T05:50:24Z</expire-at><entry><content>content_lw8a3w0206</content></entry></data>

2022-09-05 22:50:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:50:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:50:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fb27ede8-b3f8-411a-80e3-694eab4420d0</value></item-id></result>

2022-09-05 22:50:29 | contains: true

2022-09-05 22:50:29 | [Mutex] waiting for: [user_regular5122v80203@test-domain.com:message:received:content_lw8a3w0206]

2022-09-05 22:50:44 | [Mutex] timeout. Not received [user_regular5122v80203@test-domain.com:message:received:content_lw8a3w0206]

2022-09-05 22:50:44 | [Mutex] isItemNotified: user_regular5122v80203@test-domain.com:message:received:content_lw8a3w0206 :: false

2022-09-05 22:50:44 |


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


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

2022-09-05 22:50:44 | command: <data><node>node_modxhe0204</node><entry><content>content_ar166r0207</content></entry></data>

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

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

2022-09-05 22:50:44 | entity: <data><node>node_modxhe0204</node><entry><content>content_ar166r0207</content></entry></data>

2022-09-05 22:50:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:50:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:50:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bbdffad2-0109-44f5-8eff-1ca1e881d07e</value></item-id></result>

2022-09-05 22:50:44 | contains: true

2022-09-05 22:50:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-05 22:50:49 | [Mutex] waiting for: [user_regular5122v80203@test-domain.com:message:received:content_ar166r0207]

2022-09-05 22:50:49 | [Mutex] received everything.

2022-09-05 22:50:49 | [Mutex] isItemNotified: user_regular5122v80203@test-domain.com:message:received:content_ar166r0207 :: true

2022-09-05 22:50:49 |


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


2022-09-05 22:50:49 | [Mutex] received everything.

2022-09-05 22:50:49 | [Mutex] isItemNotified: node_modxhe0204:subscribe_node:success :: true

2022-09-05 22:50:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:50:49 | command: <data><node>node_modxhe0204</node><expire-at>2022-09-06T05:50:54Z</expire-at><entry><content>content_440wj80208</content></entry></data>

2022-09-05 22:50:49 | target: http://localhost:8088

2022-09-05 22:50:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-05 22:50:49 | entity: <data><node>node_modxhe0204</node><expire-at>2022-09-06T05:50:54Z</expire-at><entry><content>content_440wj80208</content></entry></data>

2022-09-05 22:50:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:50:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:50:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c3eefd5-ff40-4d14-bb74-d57b987bd19a</value></item-id></result>

2022-09-05 22:50:49 | contains: true

2022-09-05 22:50:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-05 22:50:58 | [Mutex] waiting for: [user_regular5122v80203@test-domain.com:message:received:content_440wj80208]

2022-09-05 22:51:13 | [Mutex] timeout. Not received [user_regular5122v80203@test-domain.com:message:received:content_440wj80208]

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

2022-09-05 22:51:13 | [Mutex] isItemNotified: user_regular5122v80203@test-domain.com:message:received:content_440wj80208 :: false

2022-09-05 22:51:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_440wj80208 :: true