我正在针对第三方库(在 HP/Mercury Loadrunner 中)使用 C 语言进行编程。我正在尝试制定动态调用另一个函数所需的代码。请参见下面的示例。有人可以协助完成这项工作的代码吗?
HomePage() {
// Load Runner code to conduct home page call
}
SearchResults() {
// Load Runner code to conduct some search results call
}
**FunctionCall(char function[]) {
// Conduct a remote call to another function based on what was passed in???
function;
}**
Main() {
FunctionCall(HomePage);
FunctionCall(SearchResults);
}