Generated by TestNG with ReportNG at 04:42 PST on Sunday 05 November 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.692s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.636s
2023-11-05 04:57:12 |

2023-11-05 04:57:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-11-05 04:57:12 | ------------------------------------

2023-11-05 04:57:12 | [Mutex] isItemNotified: node_kg97yr0208:exists :: false

2023-11-05 04:57:12 | [Mutex] waiting for: [node_kg97yr0208:create_node]

2023-11-05 04:57:12 | [Mutex] received everything.

2023-11-05 04:57:12 | [Mutex] isItemNotified: node_kg97yr0208:create_node:success :: true

2023-11-05 04:57:12 | [Mutex] waiting for: [node_kg97yr0208:subscribe_node]

2023-11-05 04:57:12 | [Mutex] waiting for: [node_kg97yr0208:subscribe_node]

2023-11-05 04:57:12 | [Mutex] received everything.

2023-11-05 04:57:12 | [Mutex] isItemNotified: node_kg97yr0208:subscribe_node:success :: true

2023-11-05 04:57:12 |


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


2023-11-05 04:57:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 04:57:12 | command: <data><node>node_kg97yr0208</node><entry><content>content_1umoxc0209</content></entry></data>

2023-11-05 04:57:12 | target: http://localhost:8088

2023-11-05 04:57:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 04:57:12 | entity: <data><node>node_kg97yr0208</node><entry><content>content_1umoxc0209</content></entry></data>

2023-11-05 04:57:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 12:57:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 04:57:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>01f95789-e88c-46fc-82b6-4969139fff84</value></item-id></result>

2023-11-05 04:57:12 | contains: true

2023-11-05 04:57:12 | [Mutex] received everything.

2023-11-05 04:57:12 | [Mutex] isItemNotified: user_regularfae2s60207@test-domain.com:message:received:content_1umoxc0209 :: true

2023-11-05 04:57:12 |


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


2023-11-05 04:57:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 04:57:12 | command: <data><node>node_kg97yr0208</node><expire-at>2023-11-05T12:57:07Z</expire-at><entry><content>content_shoyae0210</content></entry></data>

2023-11-05 04:57:12 | target: http://localhost:8088

2023-11-05 04:57:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 04:57:12 | entity: <data><node>node_kg97yr0208</node><expire-at>2023-11-05T12:57:07Z</expire-at><entry><content>content_shoyae0210</content></entry></data>

2023-11-05 04:57:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 12:57:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 04:57:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>68672767-1c3a-47c5-bcd3-eae80b7b568d</value></item-id></result>

2023-11-05 04:57:12 | contains: true

2023-11-05 04:57:12 | [Mutex] waiting for: [user_regularfae2s60207@test-domain.com:message:received:content_shoyae0210]

2023-11-05 04:57:27 | [Mutex] timeout. Not received [user_regularfae2s60207@test-domain.com:message:received:content_shoyae0210]

2023-11-05 04:57:27 | [Mutex] isItemNotified: user_regularfae2s60207@test-domain.com:message:received:content_shoyae0210 :: false

2023-11-05 04:57:27 |


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


2023-11-05 04:57:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 04:57:27 | command: <data><node>node_kg97yr0208</node><entry><content>content_eo6b6f0211</content></entry></data>

2023-11-05 04:57:27 | target: http://localhost:8088

2023-11-05 04:57:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 04:57:27 | entity: <data><node>node_kg97yr0208</node><entry><content>content_eo6b6f0211</content></entry></data>

2023-11-05 04:57:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 12:57:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 04:57:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>458304a6-fafb-4b3d-adfd-798e425f08bd</value></item-id></result>

2023-11-05 04:57:27 | contains: true

2023-11-05 04:57:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-11-05 04:57:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-11-05 04:57:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-05 04:57:33 | [Mutex] waiting for: [user_regularfae2s60207@test-domain.com:message:received:content_eo6b6f0211]

2023-11-05 04:57:33 | [Mutex] received everything.

2023-11-05 04:57:33 | [Mutex] isItemNotified: user_regularfae2s60207@test-domain.com:message:received:content_eo6b6f0211 :: true

2023-11-05 04:57:33 |


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


2023-11-05 04:57:33 | [Mutex] received everything.

2023-11-05 04:57:33 | [Mutex] isItemNotified: node_kg97yr0208:subscribe_node:success :: true

2023-11-05 04:57:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 04:57:33 | command: <data><node>node_kg97yr0208</node><expire-at>2023-11-05T12:57:38Z</expire-at><entry><content>content_rzv5170212</content></entry></data>

2023-11-05 04:57:33 | target: http://localhost:8088

2023-11-05 04:57:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 04:57:33 | entity: <data><node>node_kg97yr0208</node><expire-at>2023-11-05T12:57:38Z</expire-at><entry><content>content_rzv5170212</content></entry></data>

2023-11-05 04:57:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 12:57:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 04:57:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1836817-1be3-44c3-b4ab-a485cb9a3d7c</value></item-id></result>

2023-11-05 04:57:33 | contains: true

2023-11-05 04:57:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-11-05 04:57:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-11-05 04:57:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-05 04:57:41 | [Mutex] waiting for: [user_regularfae2s60207@test-domain.com:message:received:content_rzv5170212]

2023-11-05 04:57:41 | [Mutex] waiting for: [user_regularfae2s60207@test-domain.com:message:received:content_rzv5170212]

2023-11-05 04:57:56 | [Mutex] timeout. Not received [user_regularfae2s60207@test-domain.com:message:received:content_rzv5170212]

2023-11-05 04:57:56 | [Mutex] received everything.

2023-11-05 04:57:56 | [Mutex] isItemNotified: user_regularfae2s60207@test-domain.com:message:received:content_rzv5170212 :: false

2023-11-05 04:57:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rzv5170212 :: true