Generated by TestNG with ReportNG at 22:45 PDT on Wednesday 25 October 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.588s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.576s
2023-10-25 22:59:42 |

2023-10-25 22:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-10-25 22:59:42 | ------------------------------------

2023-10-25 22:59:42 | [Mutex] isItemNotified: node_kprnb50208:exists :: false

2023-10-25 22:59:42 | [Mutex] waiting for: [node_kprnb50208:create_node]

2023-10-25 22:59:42 | [Mutex] received everything.

2023-10-25 22:59:42 | [Mutex] isItemNotified: node_kprnb50208:create_node:success :: true

2023-10-25 22:59:42 | [Mutex] waiting for: [node_kprnb50208:subscribe_node]

2023-10-25 22:59:42 | [Mutex] waiting for: [node_kprnb50208:subscribe_node]

2023-10-25 22:59:42 | [Mutex] received everything.

2023-10-25 22:59:42 | [Mutex] isItemNotified: node_kprnb50208:subscribe_node:success :: true

2023-10-25 22:59:42 |


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


2023-10-25 22:59:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-25 22:59:42 | command: <data><node>node_kprnb50208</node><entry><content>content_rq6ndf0209</content></entry></data>

2023-10-25 22:59:42 | target: http://localhost:8088

2023-10-25 22:59:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-10-25 22:59:42 | entity: <data><node>node_kprnb50208</node><entry><content>content_rq6ndf0209</content></entry></data>

2023-10-25 22:59:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 05:59:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-25 22:59:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>54be500c-b11c-4221-8fe2-9abeba571243</value></item-id></result>

2023-10-25 22:59:43 | contains: true

2023-10-25 22:59:43 | [Mutex] waiting for: [user_regular1nlxzh0207@test-domain.com:message:received:content_rq6ndf0209]

2023-10-25 22:59:43 | [Mutex] received everything.

2023-10-25 22:59:43 | [Mutex] isItemNotified: user_regular1nlxzh0207@test-domain.com:message:received:content_rq6ndf0209 :: true

2023-10-25 22:59:43 |


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


2023-10-25 22:59:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-25 22:59:43 | command: <data><node>node_kprnb50208</node><expire-at>2023-10-26T05:59:38Z</expire-at><entry><content>content_r4zpqp0210</content></entry></data>

2023-10-25 22:59:43 | target: http://localhost:8088

2023-10-25 22:59:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-10-25 22:59:43 | entity: <data><node>node_kprnb50208</node><expire-at>2023-10-26T05:59:38Z</expire-at><entry><content>content_r4zpqp0210</content></entry></data>

2023-10-25 22:59:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 05:59:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-25 22:59:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cae6c0d4-ff55-4d4a-ae46-f5c741a69f3c</value></item-id></result>

2023-10-25 22:59:43 | contains: true

2023-10-25 22:59:43 | [Mutex] waiting for: [user_regular1nlxzh0207@test-domain.com:message:received:content_r4zpqp0210]

2023-10-25 22:59:58 | [Mutex] timeout. Not received [user_regular1nlxzh0207@test-domain.com:message:received:content_r4zpqp0210]

2023-10-25 22:59:58 | [Mutex] isItemNotified: user_regular1nlxzh0207@test-domain.com:message:received:content_r4zpqp0210 :: false

2023-10-25 22:59:58 |


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


2023-10-25 22:59:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-25 22:59:58 | command: <data><node>node_kprnb50208</node><entry><content>content_e0kxzq0211</content></entry></data>

2023-10-25 22:59:58 | target: http://localhost:8088

2023-10-25 22:59:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-10-25 22:59:58 | entity: <data><node>node_kprnb50208</node><entry><content>content_e0kxzq0211</content></entry></data>

2023-10-25 22:59:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 05:59:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-25 22:59:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>645a3511-c2ee-42a4-8dac-591271b9285f</value></item-id></result>

2023-10-25 22:59:58 | contains: true

2023-10-25 23:00:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-10-25 23:00:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-10-25 23:00:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-10-25 23:00:03 | [Mutex] waiting for: [user_regular1nlxzh0207@test-domain.com:message:received:content_e0kxzq0211]

2023-10-25 23:00:03 | [Mutex] waiting for: [user_regular1nlxzh0207@test-domain.com:message:received:content_e0kxzq0211]

2023-10-25 23:00:03 | [Mutex] received everything.

2023-10-25 23:00:03 | [Mutex] isItemNotified: user_regular1nlxzh0207@test-domain.com:message:received:content_e0kxzq0211 :: true

2023-10-25 23:00:03 |


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


2023-10-25 23:00:03 | [Mutex] received everything.

2023-10-25 23:00:03 | [Mutex] isItemNotified: node_kprnb50208:subscribe_node:success :: true

2023-10-25 23:00:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-25 23:00:03 | command: <data><node>node_kprnb50208</node><expire-at>2023-10-26T06:00:08Z</expire-at><entry><content>content_g71q5i0212</content></entry></data>

2023-10-25 23:00:03 | target: http://localhost:8088

2023-10-25 23:00:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-10-25 23:00:03 | entity: <data><node>node_kprnb50208</node><expire-at>2023-10-26T06:00:08Z</expire-at><entry><content>content_g71q5i0212</content></entry></data>

2023-10-25 23:00:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 06:00:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-25 23:00:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>afbf59c9-1e28-4f42-8280-f754a9711a68</value></item-id></result>

2023-10-25 23:00:03 | contains: true

2023-10-25 23:00:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-10-25 23:00:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-10-25 23:00:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-10-25 23:00:11 | [Mutex] waiting for: [user_regular1nlxzh0207@test-domain.com:message:received:content_g71q5i0212]

2023-10-25 23:00:26 | [Mutex] timeout. Not received [user_regular1nlxzh0207@test-domain.com:message:received:content_g71q5i0212]

2023-10-25 23:00:26 | [Mutex] received everything.

2023-10-25 23:00:26 | [Mutex] isItemNotified: user_regular1nlxzh0207@test-domain.com:message:received:content_g71q5i0212 :: false

2023-10-25 23:00:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_g71q5i0212 :: true