Generated by TestNG with ReportNG at 22:16 PDT on Monday 29 May 2023
root@1512af24e4a5 / Java 17.0.6 (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.661s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.625s
2023-05-29 22:30:48 |

2023-05-29 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-05-29 22:30:48 | ------------------------------------

2023-05-29 22:30:48 | [Mutex] isItemNotified: node_sq2xdh0208:exists :: false

2023-05-29 22:30:48 | [Mutex] waiting for: [node_sq2xdh0208:create_node]

2023-05-29 22:30:48 | [Mutex] waiting for: [node_sq2xdh0208:create_node]

2023-05-29 22:30:48 | [Mutex] received everything.

2023-05-29 22:30:48 | [Mutex] isItemNotified: node_sq2xdh0208:create_node:success :: true

2023-05-29 22:30:48 | [Mutex] waiting for: [node_sq2xdh0208:subscribe_node]

2023-05-29 22:30:48 | [Mutex] waiting for: [node_sq2xdh0208:subscribe_node]

2023-05-29 22:30:48 | [Mutex] received everything.

2023-05-29 22:30:48 | [Mutex] isItemNotified: node_sq2xdh0208:subscribe_node:success :: true

2023-05-29 22:30:48 |


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


2023-05-29 22:30:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 22:30:48 | command: <data><node>node_sq2xdh0208</node><entry><content>content_hmpyvg0209</content></entry></data>

2023-05-29 22:30:48 | target: http://localhost:8088

2023-05-29 22:30:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-29 22:30:48 | entity: <data><node>node_sq2xdh0208</node><entry><content>content_hmpyvg0209</content></entry></data>

2023-05-29 22:30:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:30:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 22:30:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6bbe543c-cd84-4e0f-b434-953c684bc31a</value></item-id></result>

2023-05-29 22:30:48 | contains: true

2023-05-29 22:30:48 | [Mutex] received everything.

2023-05-29 22:30:48 | [Mutex] isItemNotified: user_regularkgcsst0207@test-domain.com:message:received:content_hmpyvg0209 :: true

2023-05-29 22:30:48 |


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


2023-05-29 22:30:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 22:30:48 | command: <data><node>node_sq2xdh0208</node><expire-at>2023-05-30T05:30:43Z</expire-at><entry><content>content_jj9bv70210</content></entry></data>

2023-05-29 22:30:48 | target: http://localhost:8088

2023-05-29 22:30:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-29 22:30:48 | entity: <data><node>node_sq2xdh0208</node><expire-at>2023-05-30T05:30:43Z</expire-at><entry><content>content_jj9bv70210</content></entry></data>

2023-05-29 22:30:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:30:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 22:30:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1fad652-72a7-4a7a-b599-434530aeb9c0</value></item-id></result>

2023-05-29 22:30:48 | contains: true

2023-05-29 22:30:48 | [Mutex] waiting for: [user_regularkgcsst0207@test-domain.com:message:received:content_jj9bv70210]

2023-05-29 22:31:03 | [Mutex] timeout. Not received [user_regularkgcsst0207@test-domain.com:message:received:content_jj9bv70210]

2023-05-29 22:31:03 | [Mutex] isItemNotified: user_regularkgcsst0207@test-domain.com:message:received:content_jj9bv70210 :: false

2023-05-29 22:31:03 |


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


2023-05-29 22:31:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 22:31:03 | command: <data><node>node_sq2xdh0208</node><entry><content>content_gn5kd0211</content></entry></data>

2023-05-29 22:31:03 | target: http://localhost:8088

2023-05-29 22:31:03 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2023-05-29 22:31:03 | entity: <data><node>node_sq2xdh0208</node><entry><content>content_gn5kd0211</content></entry></data>

2023-05-29 22:31:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:31:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 22:31:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8c1c5642-c589-4152-9b25-35b4cb34b834</value></item-id></result>

2023-05-29 22:31:03 | contains: true

2023-05-29 22:31:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-29 22:31:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-05-29 22:31:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-29 22:31:08 | [Mutex] received everything.

2023-05-29 22:31:08 | [Mutex] isItemNotified: user_regularkgcsst0207@test-domain.com:message:received:content_gn5kd0211 :: true

2023-05-29 22:31:08 |


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


2023-05-29 22:31:08 | [Mutex] received everything.

2023-05-29 22:31:08 | [Mutex] isItemNotified: node_sq2xdh0208:subscribe_node:success :: true

2023-05-29 22:31:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 22:31:08 | command: <data><node>node_sq2xdh0208</node><expire-at>2023-05-30T05:31:13Z</expire-at><entry><content>content_l1lnim0212</content></entry></data>

2023-05-29 22:31:08 | target: http://localhost:8088

2023-05-29 22:31:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-29 22:31:08 | entity: <data><node>node_sq2xdh0208</node><expire-at>2023-05-30T05:31:13Z</expire-at><entry><content>content_l1lnim0212</content></entry></data>

2023-05-29 22:31:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:31:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 22:31:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>91f6ffdd-0588-4f31-94d9-68bbd30ee863</value></item-id></result>

2023-05-29 22:31:08 | contains: true

2023-05-29 22:31:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-29 22:31:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-05-29 22:31:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-29 22:31:17 | [Mutex] waiting for: [user_regularkgcsst0207@test-domain.com:message:received:content_l1lnim0212]

2023-05-29 22:31:17 | [Mutex] waiting for: [user_regularkgcsst0207@test-domain.com:message:received:content_l1lnim0212]

2023-05-29 22:31:17 | [Mutex] waiting for: [user_regularkgcsst0207@test-domain.com:message:received:content_l1lnim0212]

2023-05-29 22:31:32 | [Mutex] timeout. Not received [user_regularkgcsst0207@test-domain.com:message:received:content_l1lnim0212]

2023-05-29 22:31:32 | [Mutex] received everything.

2023-05-29 22:31:32 | [Mutex] isItemNotified: user_regularkgcsst0207@test-domain.com:message:received:content_l1lnim0212 :: false

2023-05-29 22:31:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l1lnim0212 :: true