Generated by TestNG with ReportNG at 22:22 PDT on Thursday 13 October 2022
root@f9c07ffec79b / 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.623s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.673s
2022-10-13 22:36:41 |

2022-10-13 22:36:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-10-13 22:36:41 | ------------------------------------

2022-10-13 22:36:41 | [Mutex] isItemNotified: node_zgtl6d0204:exists :: false

2022-10-13 22:36:41 | [Mutex] waiting for: [node_zgtl6d0204:create_node]

2022-10-13 22:36:41 | [Mutex] received everything.

2022-10-13 22:36:41 | [Mutex] isItemNotified: node_zgtl6d0204:create_node:success :: true

2022-10-13 22:36:41 | [Mutex] waiting for: [node_zgtl6d0204:subscribe_node]

2022-10-13 22:36:41 | [Mutex] waiting for: [node_zgtl6d0204:subscribe_node]

2022-10-13 22:36:41 | [Mutex] received everything.

2022-10-13 22:36:41 | [Mutex] isItemNotified: node_zgtl6d0204:subscribe_node:success :: true

2022-10-13 22:36:41 |


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


2022-10-13 22:36:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-13 22:36:41 | command: <data><node>node_zgtl6d0204</node><entry><content>content_osb9w80205</content></entry></data>

2022-10-13 22:36:41 | target: http://localhost:8088

2022-10-13 22:36:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-13 22:36:41 | entity: <data><node>node_zgtl6d0204</node><entry><content>content_osb9w80205</content></entry></data>

2022-10-13 22:36:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 Oct 2022 05:36:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-13 22:36:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>888803d0-eefa-48d8-be72-135c0b2ab7a3</value></item-id></result>

2022-10-13 22:36:41 | contains: true

2022-10-13 22:36:41 | [Mutex] waiting for: [user_regular1l7y50203@test-domain.com:message:received:content_osb9w80205]

2022-10-13 22:36:41 | [Mutex] received everything.

2022-10-13 22:36:41 | [Mutex] isItemNotified: user_regular1l7y50203@test-domain.com:message:received:content_osb9w80205 :: true

2022-10-13 22:36:41 |


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


2022-10-13 22:36:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-13 22:36:41 | command: <data><node>node_zgtl6d0204</node><expire-at>2022-10-14T05:36:36Z</expire-at><entry><content>content_fw3iyf0206</content></entry></data>

2022-10-13 22:36:41 | target: http://localhost:8088

2022-10-13 22:36:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-13 22:36:41 | entity: <data><node>node_zgtl6d0204</node><expire-at>2022-10-14T05:36:36Z</expire-at><entry><content>content_fw3iyf0206</content></entry></data>

2022-10-13 22:36:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 Oct 2022 05:36:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-13 22:36:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>426fffe1-9df4-472c-99b4-5fe5a5abfb38</value></item-id></result>

2022-10-13 22:36:41 | contains: true

2022-10-13 22:36:41 | [Mutex] waiting for: [user_regular1l7y50203@test-domain.com:message:received:content_fw3iyf0206]

2022-10-13 22:36:56 | [Mutex] timeout. Not received [user_regular1l7y50203@test-domain.com:message:received:content_fw3iyf0206]

2022-10-13 22:36:56 | [Mutex] isItemNotified: user_regular1l7y50203@test-domain.com:message:received:content_fw3iyf0206 :: false

2022-10-13 22:36:56 |


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


2022-10-13 22:36:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-13 22:36:56 | command: <data><node>node_zgtl6d0204</node><entry><content>content_f8r9nn0207</content></entry></data>

2022-10-13 22:36:56 | target: http://localhost:8088

2022-10-13 22:36:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-13 22:36:56 | entity: <data><node>node_zgtl6d0204</node><entry><content>content_f8r9nn0207</content></entry></data>

2022-10-13 22:36:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 Oct 2022 05:36:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-13 22:36:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>26f60128-c69b-4f15-9438-5569f8b8ff50</value></item-id></result>

2022-10-13 22:36:56 | contains: true

2022-10-13 22:37:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-10-13 22:37:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-10-13 22:37:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-13 22:37:01 | [Mutex] waiting for: [user_regular1l7y50203@test-domain.com:message:received:content_f8r9nn0207]

2022-10-13 22:37:01 | [Mutex] waiting for: [user_regular1l7y50203@test-domain.com:message:received:content_f8r9nn0207]

2022-10-13 22:37:01 | [Mutex] received everything.

2022-10-13 22:37:01 | [Mutex] isItemNotified: user_regular1l7y50203@test-domain.com:message:received:content_f8r9nn0207 :: true

2022-10-13 22:37:01 |


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


2022-10-13 22:37:01 | [Mutex] received everything.

2022-10-13 22:37:01 | [Mutex] isItemNotified: node_zgtl6d0204:subscribe_node:success :: true

2022-10-13 22:37:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-13 22:37:02 | command: <data><node>node_zgtl6d0204</node><expire-at>2022-10-14T05:37:07Z</expire-at><entry><content>content_t3sb480208</content></entry></data>

2022-10-13 22:37:02 | target: http://localhost:8088

2022-10-13 22:37:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-13 22:37:02 | entity: <data><node>node_zgtl6d0204</node><expire-at>2022-10-14T05:37:07Z</expire-at><entry><content>content_t3sb480208</content></entry></data>

2022-10-13 22:37:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 Oct 2022 05:37:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-13 22:37:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>957c3eb2-bdce-49f7-8261-56f457fc91ee</value></item-id></result>

2022-10-13 22:37:02 | contains: true

2022-10-13 22:37:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-10-13 22:37:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-13 22:37:10 | [Mutex] waiting for: [user_regular1l7y50203@test-domain.com:message:received:content_t3sb480208]

2022-10-13 22:37:10 | [Mutex] waiting for: [user_regular1l7y50203@test-domain.com:message:received:content_t3sb480208]

2022-10-13 22:37:10 | [Mutex] waiting for: [user_regular1l7y50203@test-domain.com:message:received:content_t3sb480208]

2022-10-13 22:37:25 | [Mutex] timeout. Not received [user_regular1l7y50203@test-domain.com:message:received:content_t3sb480208]

2022-10-13 22:37:25 | [Mutex] received everything.

2022-10-13 22:37:25 | [Mutex] isItemNotified: user_regular1l7y50203@test-domain.com:message:received:content_t3sb480208 :: false

2022-10-13 22:37:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t3sb480208 :: true