Generated by TestNG with ReportNG at 07:20 PST on Monday 06 March 2023
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.816s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.624s
2023-03-06 07:35:09 |

2023-03-06 07:35:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-06 07:35:09 | ------------------------------------

2023-03-06 07:35:09 | [Mutex] isItemNotified: node_d6p96m0208:exists :: false

2023-03-06 07:35:09 | [Mutex] waiting for: [node_d6p96m0208:create_node]

2023-03-06 07:35:09 | [Mutex] received everything.

2023-03-06 07:35:09 | [Mutex] isItemNotified: node_d6p96m0208:create_node:success :: true

2023-03-06 07:35:09 | [Mutex] waiting for: [node_d6p96m0208:subscribe_node]

2023-03-06 07:35:09 | [Mutex] waiting for: [node_d6p96m0208:subscribe_node]

2023-03-06 07:35:09 | [Mutex] received everything.

2023-03-06 07:35:09 | [Mutex] isItemNotified: node_d6p96m0208:subscribe_node:success :: true

2023-03-06 07:35:09 |


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


2023-03-06 07:35:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 07:35:09 | command: <data><node>node_d6p96m0208</node><entry><content>content_x0nbcv0209</content></entry></data>

2023-03-06 07:35:09 | target: http://localhost:8088

2023-03-06 07:35:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-06 07:35:09 | entity: <data><node>node_d6p96m0208</node><entry><content>content_x0nbcv0209</content></entry></data>

2023-03-06 07:35:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:35:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:35:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6b4c51bb-8644-46f1-ba37-958c87f444a2</value></item-id></result>

2023-03-06 07:35:09 | contains: true

2023-03-06 07:35:09 | [Mutex] received everything.

2023-03-06 07:35:09 | [Mutex] isItemNotified: user_regular19aku10207@test-domain.com:message:received:content_x0nbcv0209 :: true

2023-03-06 07:35:09 |


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


2023-03-06 07:35:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 07:35:09 | command: <data><node>node_d6p96m0208</node><expire-at>2023-03-06T15:35:04Z</expire-at><entry><content>content_dahu2l0210</content></entry></data>

2023-03-06 07:35:09 | target: http://localhost:8088

2023-03-06 07:35:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-06 07:35:09 | entity: <data><node>node_d6p96m0208</node><expire-at>2023-03-06T15:35:04Z</expire-at><entry><content>content_dahu2l0210</content></entry></data>

2023-03-06 07:35:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:35:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:35:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>55967198-0c32-4e64-824e-e008d4888d1c</value></item-id></result>

2023-03-06 07:35:09 | contains: true

2023-03-06 07:35:09 | [Mutex] waiting for: [user_regular19aku10207@test-domain.com:message:received:content_dahu2l0210]

2023-03-06 07:35:24 | [Mutex] timeout. Not received [user_regular19aku10207@test-domain.com:message:received:content_dahu2l0210]

2023-03-06 07:35:24 | [Mutex] isItemNotified: user_regular19aku10207@test-domain.com:message:received:content_dahu2l0210 :: false

2023-03-06 07:35:24 |


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


2023-03-06 07:35:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 07:35:24 | command: <data><node>node_d6p96m0208</node><entry><content>content_uds99m0211</content></entry></data>

2023-03-06 07:35:24 | target: http://localhost:8088

2023-03-06 07:35:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-06 07:35:24 | entity: <data><node>node_d6p96m0208</node><entry><content>content_uds99m0211</content></entry></data>

2023-03-06 07:35:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:35:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:35:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d80d3d3a-01ca-4564-b883-c51db1ecf4ac</value></item-id></result>

2023-03-06 07:35:24 | contains: true

2023-03-06 07:35:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-06 07:35:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-06 07:35:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-06 07:35:29 | [Mutex] waiting for: [user_regular19aku10207@test-domain.com:message:received:content_uds99m0211]

2023-03-06 07:35:29 | [Mutex] waiting for: [user_regular19aku10207@test-domain.com:message:received:content_uds99m0211]

2023-03-06 07:35:29 | [Mutex] received everything.

2023-03-06 07:35:29 | [Mutex] isItemNotified: user_regular19aku10207@test-domain.com:message:received:content_uds99m0211 :: true

2023-03-06 07:35:29 |


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


2023-03-06 07:35:29 | [Mutex] received everything.

2023-03-06 07:35:29 | [Mutex] isItemNotified: node_d6p96m0208:subscribe_node:success :: true

2023-03-06 07:35:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 07:35:29 | command: <data><node>node_d6p96m0208</node><expire-at>2023-03-06T15:35:34Z</expire-at><entry><content>content_shzuu70212</content></entry></data>

2023-03-06 07:35:29 | target: http://localhost:8088

2023-03-06 07:35:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-06 07:35:29 | entity: <data><node>node_d6p96m0208</node><expire-at>2023-03-06T15:35:34Z</expire-at><entry><content>content_shzuu70212</content></entry></data>

2023-03-06 07:35:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:35:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:35:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ebef97cb-ce5a-43d5-b465-3b0177be4174</value></item-id></result>

2023-03-06 07:35:29 | contains: true

2023-03-06 07:35:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-06 07:35:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-06 07:35:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-06 07:35:37 | [Mutex] waiting for: [user_regular19aku10207@test-domain.com:message:received:content_shzuu70212]

2023-03-06 07:35:37 | [Mutex] waiting for: [user_regular19aku10207@test-domain.com:message:received:content_shzuu70212]

2023-03-06 07:35:37 | [Mutex] waiting for: [user_regular19aku10207@test-domain.com:message:received:content_shzuu70212]

2023-03-06 07:35:52 | [Mutex] timeout. Not received [user_regular19aku10207@test-domain.com:message:received:content_shzuu70212]

2023-03-06 07:35:52 | [Mutex] received everything.

2023-03-06 07:35:52 | [Mutex] isItemNotified: user_regular19aku10207@test-domain.com:message:received:content_shzuu70212 :: false

2023-03-06 07:35:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_shzuu70212 :: true