Details
Description
Create an annotation @Profiled to capture the execution time of a step:
@Given("I log into mail account as user <username> with password <password>")
@Profiled
public void login()
Activity

Field | Original Value | New Value |
---|---|---|
Summary | Capture the execution time of step method in jbehave | Capture the execution time of steps annotated by @Profiled |
Fix Version/s | 4.x [ 18279 ] | |
Description |
To create an annotation to capture the performance timing of step's method in Jbehave framework. Below is the sample snippet for @Profiled annotation. After execution of the below method, should able to log the method execution timing details.
@Given("I log into mail account as user <username> with password <password>") @Profiled public void login(){ .... } |
Create an annotation @Profiled to capture the execution time of a step:
@Given("I log into mail account as user <username> with password <password>") @Profiled public void login(){ .... } |
Component/s | Core [ 11086 ] | |
Component/s | Spring Support [ 14534 ] |

Assignee | Mauro Talevi [ maurotalevi ] |

Status | Open [ 1 ] | In Progress [ 3 ] |

Fix Version/s | 4.0 [ 18486 ] | |
Fix Version/s | 4.x [ 18279 ] |

Summary | Capture the execution time of steps annotated by @Profiled | Capture the execution time of steps |

Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Thanks for considering this feature as part of Jbehave framework.
I have few queries on this feature. Is there any way to create and add the @Profiled annotation by our own in Jbehave framework ?. If yes, could you give us the procedure/steps to create and add this annotation in jbehave framework.
Because, we have created custom annotation using Spring and AOP and integrated it with Jbehave. But, the custom annotation is not identified by Jbehave and hence, our goal is satisfied yet. Could you please provide the way to add custom annotaion with Jbeave. May be it give temporary solution for us.
BTW, may i know when the ver 4.x release will happen?