Generated by TestNG with ReportNG at 00:42 PDT 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.690s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.580s
2023-11-05 00:56:53 |

2023-11-05 00:56:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-11-05 00:56:53 | ------------------------------------

2023-11-05 00:56:53 | [Mutex] isItemNotified: node_r7bzo30208:exists :: false

2023-11-05 00:56:53 | [Mutex] waiting for: [node_r7bzo30208:create_node]

2023-11-05 00:56:53 | [Mutex] received everything.

2023-11-05 00:56:53 | [Mutex] isItemNotified: node_r7bzo30208:create_node:success :: true

2023-11-05 00:56:53 | [Mutex] waiting for: [node_r7bzo30208:subscribe_node]

2023-11-05 00:56:53 | [Mutex] waiting for: [node_r7bzo30208:subscribe_node]

2023-11-05 00:56:53 | [Mutex] received everything.

2023-11-05 00:56:53 | [Mutex] isItemNotified: node_r7bzo30208:subscribe_node:success :: true

2023-11-05 00:56:53 |


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


2023-11-05 00:56:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 00:56:53 | command: <data><node>node_r7bzo30208</node><entry><content>content_28xbut0209</content></entry></data>

2023-11-05 00:56:53 | target: http://localhost:8088

2023-11-05 00:56:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 00:56:53 | entity: <data><node>node_r7bzo30208</node><entry><content>content_28xbut0209</content></entry></data>

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

2023-11-05 00:56:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>74bcd022-bb5a-47fd-b01a-cee5bca72a89</value></item-id></result>

2023-11-05 00:56:53 | contains: true

2023-11-05 00:56:53 | [Mutex] waiting for: [user_regularxs32on0207@test-domain.com:message:received:content_28xbut0209]

2023-11-05 00:56:53 | [Mutex] received everything.

2023-11-05 00:56:53 | [Mutex] isItemNotified: user_regularxs32on0207@test-domain.com:message:received:content_28xbut0209 :: true

2023-11-05 00:56:53 |


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


2023-11-05 00:56:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 00:56:53 | command: <data><node>node_r7bzo30208</node><expire-at>2023-11-05T07:56:48Z</expire-at><entry><content>content_l54enp0210</content></entry></data>

2023-11-05 00:56:53 | target: http://localhost:8088

2023-11-05 00:56:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 00:56:53 | entity: <data><node>node_r7bzo30208</node><expire-at>2023-11-05T07:56:48Z</expire-at><entry><content>content_l54enp0210</content></entry></data>

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

2023-11-05 00:56:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>97bcc126-809a-4850-beec-6e39730efd08</value></item-id></result>

2023-11-05 00:56:53 | contains: true

2023-11-05 00:56:53 | [Mutex] waiting for: [user_regularxs32on0207@test-domain.com:message:received:content_l54enp0210]

2023-11-05 00:57:08 | [Mutex] timeout. Not received [user_regularxs32on0207@test-domain.com:message:received:content_l54enp0210]

2023-11-05 00:57:08 | [Mutex] isItemNotified: user_regularxs32on0207@test-domain.com:message:received:content_l54enp0210 :: false

2023-11-05 00:57:08 |


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


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

2023-11-05 00:57:08 | command: <data><node>node_r7bzo30208</node><entry><content>content_o8v5iv0211</content></entry></data>

2023-11-05 00:57:08 | target: http://localhost:8088

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

2023-11-05 00:57:08 | entity: <data><node>node_r7bzo30208</node><entry><content>content_o8v5iv0211</content></entry></data>

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

2023-11-05 00:57:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d0f782da-01ca-45b7-a9f9-76e9e2e0b5dc</value></item-id></result>

2023-11-05 00:57:08 | contains: true

2023-11-05 00:57:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-11-05 00:57:14 | [Mutex] received everything.

2023-11-05 00:57:14 | [Mutex] isItemNotified: user_regularxs32on0207@test-domain.com:message:received:content_o8v5iv0211 :: true

2023-11-05 00:57:14 |


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


2023-11-05 00:57:14 | [Mutex] received everything.

2023-11-05 00:57:14 | [Mutex] isItemNotified: node_r7bzo30208:subscribe_node:success :: true

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

2023-11-05 00:57:14 | command: <data><node>node_r7bzo30208</node><expire-at>2023-11-05T07:57:19Z</expire-at><entry><content>content_uaqa110212</content></entry></data>

2023-11-05 00:57:14 | target: http://localhost:8088

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

2023-11-05 00:57:14 | entity: <data><node>node_r7bzo30208</node><expire-at>2023-11-05T07:57:19Z</expire-at><entry><content>content_uaqa110212</content></entry></data>

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

2023-11-05 00:57:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2f6acfab-fae3-4951-8327-ed7b5cc73392</value></item-id></result>

2023-11-05 00:57:14 | contains: true

2023-11-05 00:57:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-11-05 00:57:22 | [Mutex] waiting for: [user_regularxs32on0207@test-domain.com:message:received:content_uaqa110212]

2023-11-05 00:57:37 | [Mutex] timeout. Not received [user_regularxs32on0207@test-domain.com:message:received:content_uaqa110212]

2023-11-05 00:57:37 | [Mutex] received everything.

2023-11-05 00:57:37 | [Mutex] isItemNotified: user_regularxs32on0207@test-domain.com:message:received:content_uaqa110212 :: false

2023-11-05 00:57:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uaqa110212 :: true