Generated by TestNG with ReportNG at 22:44 PDT on Wednesday 15 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.588s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.648s
2023-03-15 22:59:35 |

2023-03-15 22:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-15 22:59:35 | ------------------------------------

2023-03-15 22:59:35 | [Mutex] isItemNotified: node_b54a6f0208:exists :: false

2023-03-15 22:59:35 | [Mutex] waiting for: [node_b54a6f0208:create_node]

2023-03-15 22:59:35 | [Mutex] received everything.

2023-03-15 22:59:35 | [Mutex] isItemNotified: node_b54a6f0208:create_node:success :: true

2023-03-15 22:59:35 | [Mutex] waiting for: [node_b54a6f0208:subscribe_node]

2023-03-15 22:59:35 | [Mutex] waiting for: [node_b54a6f0208:subscribe_node]

2023-03-15 22:59:35 | [Mutex] received everything.

2023-03-15 22:59:35 | [Mutex] isItemNotified: node_b54a6f0208:subscribe_node:success :: true

2023-03-15 22:59:35 |


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


2023-03-15 22:59:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-15 22:59:35 | command: <data><node>node_b54a6f0208</node><entry><content>content_kyesmk0209</content></entry></data>

2023-03-15 22:59:35 | target: http://localhost:8088

2023-03-15 22:59:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-15 22:59:35 | entity: <data><node>node_b54a6f0208</node><entry><content>content_kyesmk0209</content></entry></data>

2023-03-15 22:59:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:59:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-15 22:59:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9e21ca8a-3f2b-44b2-a304-e45e1c36d5f6</value></item-id></result>

2023-03-15 22:59:35 | contains: true

2023-03-15 22:59:35 | [Mutex] waiting for: [user_regularsynmdj0207@test-domain.com:message:received:content_kyesmk0209]

2023-03-15 22:59:35 | [Mutex] received everything.

2023-03-15 22:59:35 | [Mutex] isItemNotified: user_regularsynmdj0207@test-domain.com:message:received:content_kyesmk0209 :: true

2023-03-15 22:59:35 |


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


2023-03-15 22:59:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-15 22:59:35 | command: <data><node>node_b54a6f0208</node><expire-at>2023-03-16T05:59:30Z</expire-at><entry><content>content_wq583m0210</content></entry></data>

2023-03-15 22:59:35 | target: http://localhost:8088

2023-03-15 22:59:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-15 22:59:35 | entity: <data><node>node_b54a6f0208</node><expire-at>2023-03-16T05:59:30Z</expire-at><entry><content>content_wq583m0210</content></entry></data>

2023-03-15 22:59:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:59:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-15 22:59:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>29c2d695-ef98-4836-bc28-c9d035a5670e</value></item-id></result>

2023-03-15 22:59:35 | contains: true

2023-03-15 22:59:35 | [Mutex] waiting for: [user_regularsynmdj0207@test-domain.com:message:received:content_wq583m0210]

2023-03-15 22:59:50 | [Mutex] timeout. Not received [user_regularsynmdj0207@test-domain.com:message:received:content_wq583m0210]

2023-03-15 22:59:50 | [Mutex] isItemNotified: user_regularsynmdj0207@test-domain.com:message:received:content_wq583m0210 :: false

2023-03-15 22:59:50 |


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


2023-03-15 22:59:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-15 22:59:50 | command: <data><node>node_b54a6f0208</node><entry><content>content_ddyui50211</content></entry></data>

2023-03-15 22:59:50 | target: http://localhost:8088

2023-03-15 22:59:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-15 22:59:50 | entity: <data><node>node_b54a6f0208</node><entry><content>content_ddyui50211</content></entry></data>

2023-03-15 22:59:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:59:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-15 22:59:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0c994eed-c4c6-4e25-a0ae-cd87a16597c7</value></item-id></result>

2023-03-15 22:59:50 | contains: true

2023-03-15 22:59:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-15 22:59:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-15 22:59:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-15 22:59:55 | [Mutex] waiting for: [user_regularsynmdj0207@test-domain.com:message:received:content_ddyui50211]

2023-03-15 22:59:55 | [Mutex] waiting for: [user_regularsynmdj0207@test-domain.com:message:received:content_ddyui50211]

2023-03-15 22:59:55 | [Mutex] received everything.

2023-03-15 22:59:55 | [Mutex] isItemNotified: user_regularsynmdj0207@test-domain.com:message:received:content_ddyui50211 :: true

2023-03-15 22:59:55 |


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


2023-03-15 22:59:55 | [Mutex] received everything.

2023-03-15 22:59:55 | [Mutex] isItemNotified: node_b54a6f0208:subscribe_node:success :: true

2023-03-15 22:59:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-15 22:59:55 | command: <data><node>node_b54a6f0208</node><expire-at>2023-03-16T06:00:00Z</expire-at><entry><content>content_yybdaw0212</content></entry></data>

2023-03-15 22:59:55 | target: http://localhost:8088

2023-03-15 22:59:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-15 22:59:55 | entity: <data><node>node_b54a6f0208</node><expire-at>2023-03-16T06:00:00Z</expire-at><entry><content>content_yybdaw0212</content></entry></data>

2023-03-15 22:59:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:59:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-15 22:59:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c29e528-c4ed-4e29-a08c-80bf19999a27</value></item-id></result>

2023-03-15 22:59:56 | contains: true

2023-03-15 23:00:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-15 23:00:04 | [Mutex] waiting for: [user_regularsynmdj0207@test-domain.com:message:received:content_yybdaw0212]

2023-03-15 23:00:19 | [Mutex] timeout. Not received [user_regularsynmdj0207@test-domain.com:message:received:content_yybdaw0212]

2023-03-15 23:00:19 | [Mutex] received everything.

2023-03-15 23:00:19 | [Mutex] isItemNotified: user_regularsynmdj0207@test-domain.com:message:received:content_yybdaw0212 :: false

2023-03-15 23:00:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yybdaw0212 :: true