Generated by TestNG with ReportNG at 22:28 PDT on Sunday 12 June 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.999s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.717s
2022-06-12 22:42:32 |

2022-06-12 22:42:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-12 22:42:32 | ------------------------------------

2022-06-12 22:42:32 | [Mutex] isItemNotified: node_d185hl0204:exists :: false

2022-06-12 22:42:32 | [Mutex] waiting for: [node_d185hl0204:create_node]

2022-06-12 22:42:32 | [Mutex] received everything.

2022-06-12 22:42:32 | [Mutex] isItemNotified: node_d185hl0204:create_node:success :: true

2022-06-12 22:42:32 | [Mutex] waiting for: [node_d185hl0204:subscribe_node]

2022-06-12 22:42:32 | [Mutex] waiting for: [node_d185hl0204:subscribe_node]

2022-06-12 22:42:32 | [Mutex] received everything.

2022-06-12 22:42:32 | [Mutex] isItemNotified: node_d185hl0204:subscribe_node:success :: true

2022-06-12 22:42:32 |


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


2022-06-12 22:42:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-12 22:42:32 | command: <data><node>node_d185hl0204</node><entry><content>content_ebtph00205</content></entry></data>

2022-06-12 22:42:32 | target: http://localhost:8088

2022-06-12 22:42:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-12 22:42:32 | entity: <data><node>node_d185hl0204</node><entry><content>content_ebtph00205</content></entry></data>

2022-06-12 22:42:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:42:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-12 22:42:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ac3be82e-0221-426a-8933-37e3e33992de</value></item-id></result>

2022-06-12 22:42:32 | contains: true

2022-06-12 22:42:32 | [Mutex] waiting for: [user_regularoxhxvl0203@test-domain.com:message:received:content_ebtph00205]

2022-06-12 22:42:32 | [Mutex] received everything.

2022-06-12 22:42:32 | [Mutex] isItemNotified: user_regularoxhxvl0203@test-domain.com:message:received:content_ebtph00205 :: true

2022-06-12 22:42:32 |


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


2022-06-12 22:42:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-12 22:42:32 | command: <data><node>node_d185hl0204</node><expire-at>2022-06-13T05:42:27Z</expire-at><entry><content>content_glfhyq0206</content></entry></data>

2022-06-12 22:42:32 | target: http://localhost:8088

2022-06-12 22:42:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-12 22:42:32 | entity: <data><node>node_d185hl0204</node><expire-at>2022-06-13T05:42:27Z</expire-at><entry><content>content_glfhyq0206</content></entry></data>

2022-06-12 22:42:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:42:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-12 22:42:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dcd4ea80-22ae-4a09-84d6-24e047cdc764</value></item-id></result>

2022-06-12 22:42:32 | contains: true

2022-06-12 22:42:32 | [Mutex] waiting for: [user_regularoxhxvl0203@test-domain.com:message:received:content_glfhyq0206]

2022-06-12 22:42:47 | [Mutex] timeout. Not received [user_regularoxhxvl0203@test-domain.com:message:received:content_glfhyq0206]

2022-06-12 22:42:47 | [Mutex] isItemNotified: user_regularoxhxvl0203@test-domain.com:message:received:content_glfhyq0206 :: false

2022-06-12 22:42:47 |


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


2022-06-12 22:42:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-12 22:42:47 | command: <data><node>node_d185hl0204</node><entry><content>content_sguj070207</content></entry></data>

2022-06-12 22:42:47 | target: http://localhost:8088

2022-06-12 22:42:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-12 22:42:47 | entity: <data><node>node_d185hl0204</node><entry><content>content_sguj070207</content></entry></data>

2022-06-12 22:42:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:42:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-12 22:42:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7db02677-68ba-4471-a93b-cc7161e2dd44</value></item-id></result>

2022-06-12 22:42:47 | contains: true

2022-06-12 22:42:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-12 22:42:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-06-12 22:42:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-12 22:42:52 | [Mutex] waiting for: [user_regularoxhxvl0203@test-domain.com:message:received:content_sguj070207]

2022-06-12 22:42:52 | [Mutex] waiting for: [user_regularoxhxvl0203@test-domain.com:message:received:content_sguj070207]

2022-06-12 22:42:52 | [Mutex] received everything.

2022-06-12 22:42:52 | [Mutex] isItemNotified: user_regularoxhxvl0203@test-domain.com:message:received:content_sguj070207 :: true

2022-06-12 22:42:52 |


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


2022-06-12 22:42:52 | [Mutex] received everything.

2022-06-12 22:42:52 | [Mutex] isItemNotified: node_d185hl0204:subscribe_node:success :: true

2022-06-12 22:42:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-12 22:42:52 | command: <data><node>node_d185hl0204</node><expire-at>2022-06-13T05:42:57Z</expire-at><entry><content>content_yt6ae20208</content></entry></data>

2022-06-12 22:42:52 | target: http://localhost:8088

2022-06-12 22:42:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-12 22:42:52 | entity: <data><node>node_d185hl0204</node><expire-at>2022-06-13T05:42:57Z</expire-at><entry><content>content_yt6ae20208</content></entry></data>

2022-06-12 22:42:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:42:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-12 22:42:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dff85eb2-376f-4a0c-b305-ba7e8e952c6f</value></item-id></result>

2022-06-12 22:42:53 | contains: true

2022-06-12 22:43:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-12 22:43:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-12 22:43:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-12 22:43:01 | [Mutex] waiting for: [user_regularoxhxvl0203@test-domain.com:message:received:content_yt6ae20208]

2022-06-12 22:43:01 | [Mutex] waiting for: [user_regularoxhxvl0203@test-domain.com:message:received:content_yt6ae20208]

2022-06-12 22:43:16 | [Mutex] timeout. Not received [user_regularoxhxvl0203@test-domain.com:message:received:content_yt6ae20208]

2022-06-12 22:43:16 | [Mutex] received everything.

2022-06-12 22:43:16 | [Mutex] isItemNotified: user_regularoxhxvl0203@test-domain.com:message:received:content_yt6ae20208 :: false

2022-06-12 22:43:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yt6ae20208 :: true