Generated by TestNG with ReportNG at 22:36 PDT on Thursday 19 May 2022
root@1bc69cf4cb94 / 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.626s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.634s
2022-05-19 22:50:44 |

2022-05-19 22:50:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-19 22:50:44 | ------------------------------------

2022-05-19 22:50:44 | [Mutex] isItemNotified: node_tzaov60204:exists :: false

2022-05-19 22:50:44 | [Mutex] waiting for: [node_tzaov60204:create_node]

2022-05-19 22:50:44 | [Mutex] received everything.

2022-05-19 22:50:44 | [Mutex] isItemNotified: node_tzaov60204:create_node:success :: true

2022-05-19 22:50:44 | [Mutex] waiting for: [node_tzaov60204:subscribe_node]

2022-05-19 22:50:44 | [Mutex] received everything.

2022-05-19 22:50:44 | [Mutex] isItemNotified: node_tzaov60204:subscribe_node:success :: true

2022-05-19 22:50:44 |


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


2022-05-19 22:50:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-19 22:50:44 | command: <data><node>node_tzaov60204</node><entry><content>content_j88ik10205</content></entry></data>

2022-05-19 22:50:44 | target: http://localhost:8088

2022-05-19 22:50:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-19 22:50:44 | entity: <data><node>node_tzaov60204</node><entry><content>content_j88ik10205</content></entry></data>

2022-05-19 22:50:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:50:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-19 22:50:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d4f1c972-a0f0-4006-b8f8-1bfe2ccf11ee</value></item-id></result>

2022-05-19 22:50:44 | contains: true

2022-05-19 22:50:44 | [Mutex] received everything.

2022-05-19 22:50:44 | [Mutex] isItemNotified: user_regular99vaoj0203@test-domain.com:message:received:content_j88ik10205 :: true

2022-05-19 22:50:44 |


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


2022-05-19 22:50:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-19 22:50:44 | command: <data><node>node_tzaov60204</node><expire-at>2022-05-20T05:50:39Z</expire-at><entry><content>content_h0w7ug0206</content></entry></data>

2022-05-19 22:50:44 | target: http://localhost:8088

2022-05-19 22:50:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-19 22:50:44 | entity: <data><node>node_tzaov60204</node><expire-at>2022-05-20T05:50:39Z</expire-at><entry><content>content_h0w7ug0206</content></entry></data>

2022-05-19 22:50:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:50:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-19 22:50:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>818067ab-c082-49dc-b7f5-6ee998084242</value></item-id></result>

2022-05-19 22:50:44 | contains: true

2022-05-19 22:50:44 | [Mutex] waiting for: [user_regular99vaoj0203@test-domain.com:message:received:content_h0w7ug0206]

2022-05-19 22:50:59 | [Mutex] timeout. Not received [user_regular99vaoj0203@test-domain.com:message:received:content_h0w7ug0206]

2022-05-19 22:50:59 | [Mutex] isItemNotified: user_regular99vaoj0203@test-domain.com:message:received:content_h0w7ug0206 :: false

2022-05-19 22:50:59 |


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


2022-05-19 22:50:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-19 22:50:59 | command: <data><node>node_tzaov60204</node><entry><content>content_ac4mji0207</content></entry></data>

2022-05-19 22:50:59 | target: http://localhost:8088

2022-05-19 22:50:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-19 22:50:59 | entity: <data><node>node_tzaov60204</node><entry><content>content_ac4mji0207</content></entry></data>

2022-05-19 22:50:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:50:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-19 22:50:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7e9d7a8c-1835-425f-84e3-bdde76159e63</value></item-id></result>

2022-05-19 22:50:59 | contains: true

2022-05-19 22:51:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-19 22:51:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-19 22:51:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-19 22:51:04 | [Mutex] waiting for: [user_regular99vaoj0203@test-domain.com:message:received:content_ac4mji0207]

2022-05-19 22:51:04 | [Mutex] waiting for: [user_regular99vaoj0203@test-domain.com:message:received:content_ac4mji0207]

2022-05-19 22:51:04 | [Mutex] received everything.

2022-05-19 22:51:04 | [Mutex] isItemNotified: user_regular99vaoj0203@test-domain.com:message:received:content_ac4mji0207 :: true

2022-05-19 22:51:04 |


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


2022-05-19 22:51:04 | [Mutex] received everything.

2022-05-19 22:51:04 | [Mutex] isItemNotified: node_tzaov60204:subscribe_node:success :: true

2022-05-19 22:51:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-19 22:51:04 | command: <data><node>node_tzaov60204</node><expire-at>2022-05-20T05:51:09Z</expire-at><entry><content>content_3kagn10208</content></entry></data>

2022-05-19 22:51:04 | target: http://localhost:8088

2022-05-19 22:51:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-19 22:51:04 | entity: <data><node>node_tzaov60204</node><expire-at>2022-05-20T05:51:09Z</expire-at><entry><content>content_3kagn10208</content></entry></data>

2022-05-19 22:51:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:51:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-19 22:51:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a03786cf-3af7-4e8a-a1d1-50c7bbec58be</value></item-id></result>

2022-05-19 22:51:04 | contains: true

2022-05-19 22:51:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-19 22:51:12 | [Mutex] waiting for: [user_regular99vaoj0203@test-domain.com:message:received:content_3kagn10208]

2022-05-19 22:51:12 | [Mutex] waiting for: [user_regular99vaoj0203@test-domain.com:message:received:content_3kagn10208]

2022-05-19 22:51:27 | [Mutex] timeout. Not received [user_regular99vaoj0203@test-domain.com:message:received:content_3kagn10208]

2022-05-19 22:51:27 | [Mutex] received everything.

2022-05-19 22:51:27 | [Mutex] isItemNotified: user_regular99vaoj0203@test-domain.com:message:received:content_3kagn10208 :: false

2022-05-19 22:51:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3kagn10208 :: true