Generated by TestNG with ReportNG at 22:18 PDT on Monday 18 July 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.550s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.561s
2022-07-18 22:32:26 |

2022-07-18 22:32:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-18 22:32:26 | ------------------------------------

2022-07-18 22:32:26 | [Mutex] isItemNotified: node_tm4xe00204:exists :: false

2022-07-18 22:32:26 | [Mutex] waiting for: [node_tm4xe00204:create_node]

2022-07-18 22:32:26 | [Mutex] received everything.

2022-07-18 22:32:26 | [Mutex] isItemNotified: node_tm4xe00204:create_node:success :: true

2022-07-18 22:32:26 | [Mutex] waiting for: [node_tm4xe00204:subscribe_node]

2022-07-18 22:32:26 | [Mutex] received everything.

2022-07-18 22:32:26 | [Mutex] isItemNotified: node_tm4xe00204:subscribe_node:success :: true

2022-07-18 22:32:26 |


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


2022-07-18 22:32:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 22:32:26 | command: <data><node>node_tm4xe00204</node><entry><content>content_oslkgc0205</content></entry></data>

2022-07-18 22:32:26 | target: http://localhost:8088

2022-07-18 22:32:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-18 22:32:26 | entity: <data><node>node_tm4xe00204</node><entry><content>content_oslkgc0205</content></entry></data>

2022-07-18 22:32:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 05:32:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 22:32:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fc7fc99e-40bb-46e5-b407-e0ef474efbb4</value></item-id></result>

2022-07-18 22:32:26 | contains: true

2022-07-18 22:32:26 | [Mutex] received everything.

2022-07-18 22:32:26 | [Mutex] isItemNotified: user_regularwtqi440203@test-domain.com:message:received:content_oslkgc0205 :: true

2022-07-18 22:32:26 |


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


2022-07-18 22:32:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 22:32:26 | command: <data><node>node_tm4xe00204</node><expire-at>2022-07-19T05:32:21Z</expire-at><entry><content>content_al89120206</content></entry></data>

2022-07-18 22:32:26 | target: http://localhost:8088

2022-07-18 22:32:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-18 22:32:26 | entity: <data><node>node_tm4xe00204</node><expire-at>2022-07-19T05:32:21Z</expire-at><entry><content>content_al89120206</content></entry></data>

2022-07-18 22:32:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 05:32:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 22:32:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2e59f0c1-34a3-4fa7-925c-b28765b67837</value></item-id></result>

2022-07-18 22:32:26 | contains: true

2022-07-18 22:32:26 | [Mutex] waiting for: [user_regularwtqi440203@test-domain.com:message:received:content_al89120206]

2022-07-18 22:32:41 | [Mutex] timeout. Not received [user_regularwtqi440203@test-domain.com:message:received:content_al89120206]

2022-07-18 22:32:41 | [Mutex] isItemNotified: user_regularwtqi440203@test-domain.com:message:received:content_al89120206 :: false

2022-07-18 22:32:41 |


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


2022-07-18 22:32:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 22:32:41 | command: <data><node>node_tm4xe00204</node><entry><content>content_nuvxlu0207</content></entry></data>

2022-07-18 22:32:41 | target: http://localhost:8088

2022-07-18 22:32:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-18 22:32:41 | entity: <data><node>node_tm4xe00204</node><entry><content>content_nuvxlu0207</content></entry></data>

2022-07-18 22:32:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 05:32:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 22:32:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>21038dc2-71a8-4809-8a40-ec16ef896cd1</value></item-id></result>

2022-07-18 22:32:41 | contains: true

2022-07-18 22:32:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-18 22:32:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-18 22:32:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-18 22:32:47 | [Mutex] waiting for: [user_regularwtqi440203@test-domain.com:message:received:content_nuvxlu0207]

2022-07-18 22:32:47 | [Mutex] received everything.

2022-07-18 22:32:47 | [Mutex] isItemNotified: user_regularwtqi440203@test-domain.com:message:received:content_nuvxlu0207 :: true

2022-07-18 22:32:47 |


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


2022-07-18 22:32:47 | [Mutex] received everything.

2022-07-18 22:32:47 | [Mutex] isItemNotified: node_tm4xe00204:subscribe_node:success :: true

2022-07-18 22:32:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 22:32:47 | command: <data><node>node_tm4xe00204</node><expire-at>2022-07-19T05:32:52Z</expire-at><entry><content>content_ws43700208</content></entry></data>

2022-07-18 22:32:47 | target: http://localhost:8088

2022-07-18 22:32:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-18 22:32:47 | entity: <data><node>node_tm4xe00204</node><expire-at>2022-07-19T05:32:52Z</expire-at><entry><content>content_ws43700208</content></entry></data>

2022-07-18 22:32:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 05:32:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 22:32:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>343fe40c-20d7-41d1-a694-57ba99aa567f</value></item-id></result>

2022-07-18 22:32:47 | contains: true

2022-07-18 22:32:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-07-18 22:32:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-18 22:32:55 | [Mutex] waiting for: [user_regularwtqi440203@test-domain.com:message:received:content_ws43700208]

2022-07-18 22:33:10 | [Mutex] timeout. Not received [user_regularwtqi440203@test-domain.com:message:received:content_ws43700208]

2022-07-18 22:33:10 | [Mutex] received everything.

2022-07-18 22:33:10 | [Mutex] isItemNotified: user_regularwtqi440203@test-domain.com:message:received:content_ws43700208 :: false

2022-07-18 22:33:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ws43700208 :: true